Thursday, March 31, 2011

Timezone

aptitude update tzdata
zdump -v America/Chicago | grep 2011

#epoch time 1970-01-01 00:00:00 UTC
date +%s

#epoch time of 12 Jan 2010 16:44:12 UTC
date -d "12 Jan 2010 16:44:12 UTC" +%s

#convert epoch time to readable date
date -d @371407800


//Windows
java -jar tzupdater.jar -f -bc -u

No comments:

Post a Comment