Do you have api access or library access to time and date functions? Most languages already handle this.
If you're making your own functions that requires an underlying understanding of time and dates that I cannot provide.
I'm 9999% sure Javascript handles things like this in its basic library and you just got to learn what functions to call and feed it the relevant data.
__________________
Apophis is closest to earth on 2029 April the 13th (a friday) lol
***this post is purely spiritual, speculative, apolitical and nonpartisan in nature.
|