Show the epoch: Difference between revisions

→‎{{header|Go}}: new epoch with Go 1
(Added Delphi example)
(→‎{{header|Go}}: new epoch with Go 1)
Line 139:
 
func main() {
fmt.Println(time.SecondsToUTC(0)Time{})
}</lang>
Output. This is UNIX format. The 1 on the end is the full year, not two or four digit year.
 
<pre>
Output:
<pre>ThuMon Jan 1 00:00:00 +0000 UTC 1970</pre>1
</pre>
 
=={{header|Haskell}}==
1,707

edits