times.nim: Minor formatting change in the example code
This commit is contained in:
parent
5abb6caed8
commit
633832d0de
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
let time = cpuTime()
|
let time = cpuTime()
|
||||||
|
|
||||||
sleep(100) # replace this with something to be timed
|
sleep(100) # replace this with something to be timed
|
||||||
echo "Time taken: ",cpuTime() - time
|
echo "Time taken: ", cpuTime() - time
|
||||||
|
|
||||||
echo "My formatted time: ", format(now(), "d MMMM yyyy HH:mm")
|
echo "My formatted time: ", format(now(), "d MMMM yyyy HH:mm")
|
||||||
echo "Using predefined formats: ", getClockStr(), " ", getDateStr()
|
echo "Using predefined formats: ", getClockStr(), " ", getDateStr()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue