Difference between revisions of "Time"

From Things and Stuff Wiki
Jump to navigation Jump to search
Line 132: Line 132:
 
== Linux ==
 
== Linux ==
 
* http://man7.org/linux/man-pages/man3/strftime.3.html - time format/template
 
* http://man7.org/linux/man-pages/man3/strftime.3.html - time format/template
 +
 +
 +
* [http://www.fresse.org/dateutils/#datediff dateutils] - a bunch of tools that revolve around fiddling with dates and times in the command line with a strong focus on use cases that arise when dealing with large amounts of financial data.

Revision as of 15:30, 17 January 2019

General

See also Organising#Time management

Time zones

Calendar

For accounting: a 5 week month = 5 weeks including a Monday




Clocks




to sort


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

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

NTP


NTPsec

Linux


  • dateutils - a bunch of tools that revolve around fiddling with dates and times in the command line with a strong focus on use cases that arise when dealing with large amounts of financial data.