Last active
August 29, 2015 14:10
-
-
Save jleedev/ac0fe3fca527f7e56ce6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ TZ=Pacific/Apia date -d @1325239199 | |
Thu Dec 29 23:59:59 SDT 2011 | |
~$ TZ=Pacific/Apia date -d @1325239200 | |
Sat Dec 31 00:00:00 WSDT 2011 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ TZ=Pacific/Apia nodejs | |
> new Date(1325239199000) | |
Fri Dec 30 2011 23:59:59 GMT+1400 (SDT) | |
> new Date(1325239200000) | |
Sat Dec 31 2011 00:00:00 GMT+1400 (WSDT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ TZ=America/New_York nodejs | |
> new Date(1143959400000) | |
Sun Apr 02 2006 01:30:00 GMT-0500 (EDT) | |
> new Date(1143963000000) | |
Sun Apr 02 2006 03:30:00 GMT-0400 (EDT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ TZ=Pacific/Apia date -r 0 | |
Wed Dec 31 13:00:00 SST 1969 | |
~$ TZ=Pacific/Apia node | |
> new Date(0) | |
Thu Jan 01 1970 13:00:00 GMT+1300 (WSDT) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment