Sean P. DeNigris wrote
> A REST API passed me #[0 0 1 58 153 199 12 211], which it swears is a unix
> timestamp

My bad. I RTFM, but not so well "time in *milliseconds* from 00:00:00 UTC on
January 1, 1970", so I have to do something like:

DateAndTime fromUnixTime: #[0 0 1 58 153 199 12 211] asInteger / 1000.

Obviously need to stop hacking for today ;)

Cheers,
Sean



--
View this message in context: 
http://forum.world.st/It-s-time-to-play-Decode-This-tp4652979p4652989.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to