System time: Difference between revisions

Removed some parentheses. Added "now()". Updated output.
m (→‎{{header|Phix}}: added syntax colouring the hard way, phix/basics)
(Removed some parentheses. Added "now()". Updated output.)
Line 1,506:
<lang nim>import times
 
echo( getDateStr())
echo( getClockStr())
echo( getTime())</lang>{{out}}
echo now() # shorthand for "getTime().local"</lang>
2013-08-02
{{out}}
07:34:25
<pre>2021-04-21
Fri Aug 2 07:34:25 2013
00:28:01
2021-04-21T00:28:01+02:00
2021-04-21T00:28:01+02:00</pre>
 
=={{header|Objeck}}==
Anonymous user