Created
October 7, 2014 01:29
-
-
Save nelhage/96bb648abaa28f0d8b8b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[nelhage@anarchique:~]$ t=$(TZ=UTC date +"%y%m%d%H%M"); echo $t | |
1410070128 | |
[nelhage@anarchique:~]$ t=$(TZ=UTC date --date=@$t +"%y%m%d%H%M"); echo $t | |
1409070608 | |
[nelhage@anarchique:~]$ t=$(TZ=UTC date --date=@$t +"%y%m%d%H%M"); echo $t | |
1408261630 | |
[nelhage@anarchique:~]$ t=$(TZ=UTC date --date=@$t +"%y%m%d%H%M"); echo $t | |
1408170747 | |
[nelhage@anarchique:~]$ t=$(TZ=UTC date --date=@$t +"%y%m%d%H%M"); echo $t | |
1408160632 | |
[nelhage@anarchique:~]$ t=$(TZ=UTC date --date=@$t +"%y%m%d%H%M"); echo $t | |
1408160343 | |
[nelhage@anarchique:~]$ t=$(TZ=UTC date --date=@$t +"%y%m%d%H%M"); echo $t | |
1408160339 | |
[nelhage@anarchique:~]$ t=$(TZ=UTC date --date=@$t +"%y%m%d%H%M"); echo $t | |
1408160338 | |
[nelhage@anarchique:~]$ t=$(TZ=UTC date --date=@$t +"%y%m%d%H%M"); echo $t | |
1408160338 | |
[nelhage@anarchique:~]$ t=$(TZ=UTC date --date=@$t +"%y%m%d%H%M"); echo $t | |
1408160338 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment