Converting an Int64 to a Time

So if I do something like:

my_time = Dates.Time(12,1,1,1,1)
my_int = Dates.value(my_time)

How would I then get my_int back to a Time object? Many thanks in advance.
Chase CB

I believe that Dates.value gives you nanoseconds, so you should be able to do

Dates.Time(Dates.Nanosecond(my_int))
1 Like

Worked perfectly thanks so much.