I have a lot of time-stamped data (from a sensor). The physical unit of the 
time-stamps is milliseconds from some known instant of time. The natural 
type for these in Julia would be DateTime. But instead of simply 
constructing DateTime directly from my millisecond time-stamps, e.g.

julia> dt=DateTime(Millisecond(timestamp))

it seems that I have to write code to get second, minute, hour, day, month, 
year from my timestamps? Isn't there a way to directly set the instant 
value (which happens to be in millisecond) of a DateTime variable?

Reply via email to