Difference between revisions of "Time"

From Things and Stuff Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
1w = 604800s
 
1w = 604800s
 
28d = 2419200s
 
28d = 2419200s
 +
 +
For accounting: a 5 week month = number of weeks with Mondays in it.
  
 
* [http://www.askapache.com/hacking/speed-site-caching-cache-control.html#htaccess_time_cheatsheet time cheatsheet]
 
* [http://www.askapache.com/hacking/speed-site-caching-cache-control.html#htaccess_time_cheatsheet time cheatsheet]

Revision as of 16:24, 11 July 2014

General

1h = 3600s 1d = 86400s 1w = 604800s 28d = 2419200s

For accounting: a 5 week month = number of weeks with Mondays in it.

http://jtnimoy.net/workviewer.php?q=178



Unix epoch

while true; do echo "$(date +%s)" | figlet ; sleep 0.99 ; done
date -u -d @1400000000
  gives datetime in UTC