Mirror of
forum.nim-lang.org
index
7209 :: There is any simple to convert a Time to DateTime?
[2020-12-06T03:12:24+01:00]
View Orginal
slangmgh
(orginal)
[2020-12-06T03:12:24+01:00]
view original
I save the time as unix timestamp, and now I want to convert it to DateTime, but I can only find method DateTime.toTime.
slangmgh
(orginal)
[2020-12-06T04:56:54+01:00]
view original
Find proc inZone(time, zone): DateTime