Converting an Int64 to a Time

question

#1

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


#2

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

Dates.Time(Dates.Nanosecond(my_int))

#3

Worked perfectly thanks so much.