Show the epoch: Difference between revisions

m
Formatting.
(Replaced old code which no longer works with Nim 1.4. Added the case of Windows. Added a general comment.)
m (Formatting.)
Line 688:
 
=={{header|Nim}}==
Nim “times” module provides procedures to convert to and from timestamps. Using these procedures, it’s easy to find the epoch, even on another system:
<lang nim>import times
 
Anonymous user