First of all is, what do you want? Do you want a timestamp, a duration, how a cast work, the 'let' statement, something with time or all together?
Have a look at here: <https://nim-lang.org/docs/times.html#Duration> (To create a new Duration, use initDuration proc.) proc initDuration <https://nim-lang.org/docs/times.html#initDuration,int64,int64,int64,int64,int64,int64,int64,int64> and an example here: <https://docs.w3cub.com/nim/times>/ In Google type in: Nim Duration. (only as help, first the word Nim and what you are searching. Sometimes is difficult to find something. Is not Python :-) )