t21406.nim 154 B

12345678
  1. import std/[times, strformat]
  2. import std/assertions
  3. let aTime = getTime()
  4. doAssert fmt"{aTime}" == $aTime
  5. let aNow = now()
  6. doAssert fmt"{aNow}" == $aNow