amax;11008945 wrote:what the ".1020000-00:00" example given means at the end. Anyone any ideas based on this?
It's as dalecosp suggested above; the .1020000 represents a microtime adjustment of 102 milliseconds. The "-00:00" is, of course:
amax;11008945 wrote:the time offset from GMT/UTC
It's basically an ISO 8601 date with microtime resolution. Assuming you don't care about being accurate to the millisecond, note you could always just supply a microtime adjustment of all zeros. Otherwise, you'd have to do some string splitting and concatenation to get the decimal value from [man]microtime/man.
If the decimal portion of the time is absolutely required and can't assumed to be zero, then you'll have to build up the ISO 8601 date piece-by-piece using [man]date/man. Otherwise, you might try using [man]date/man and see if that works.