Time format conversion functions
|
|
Motivation
Working in software I'm constantly having to
look up the functions in C, Python, etc., for
converting between different representations
of time. So I made up this chart, printed it,
and put it on the wall.
Saves me time ...
Comment
I know "Seconds since epoch" is a bit odd for the
destination of "clock", but in another sense it's
right. It's the number of seconds this process has
used, and that's since the process was started.
But it didn't use any before it was started, so
although "since epoch" is a bit misleading, it's
nonetheless right.
Hmm ... thinking about that.
|