Show the epoch: Difference between revisions

Content deleted Content added
Added Delphi example
Line 117: Line 117:
Output:
Output:
<pre>1970-01-01 00:00:00.000Z</pre>
<pre>1970-01-01 00:00:00.000Z</pre>


=={{header|Delphi}}==
<lang Delphi>program ShowEpoch;

{$APPTYPE CONSOLE}

uses SysUtils;

begin
Writeln(FormatDateTime('yyyy-mm-dd hh:nn:ss.zzz', 0));
end.
</lang>

Output:
<pre>1899-12-30 00:00:00.000</pre>


=={{header|Go}}==
=={{header|Go}}==