I'm trying out Dates (using Dates, in 0.3.3-pre+8). I would like to
serialise the underlying Int64 value for storage and retrieval in the most
performant way.

Is there a way of constructing a DateTime from the previously serialised
Uint64?

julia> now = Dates.now()
2014-10-27T06:35:08

julia> now_int=int64(now)
63550074908000

julia> DateTime(now_int)
281443367-02-08T13:21:06.56

The above constructor assumes a year value...

julia> DateTime(2014)
2014-01-01T00:00:00

There does not seem to be a constructor for unserialising the Uint64, or am
I missing something?

Thanks, Adrian.

Reply via email to