> I suppose I'm missing something obvious...
>
> Within an object "created":"2014-02-01T09:28:56"
>
> OB Get is returning the correct date with:
>
> OB Get($OBGenInfo;"created";Is date) with
>
> But, time always returns ?00:00:02? using:
>
> OB Get($OBGenInfo;"created";Is time)
>
> Or is the time
OB Get is simply doing the reverse of OB SET, which sets milliseconds for time.
If you want to convert an ISO GMT timestamp to 4D local date or time you can
use the Date and Time commands, which were upgraded in v14:
$timestamp:="2017-05-25T23:00:00.294Z" //next day in Japan
the same question was posted on the forums a couple of days ago.
time values are represented in milliseconds,
so a date string, the first part of which is the year 2017,
approximates to 2 seconds past midnight.
> 2017/05/25 8:32、Tom Dillon via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> OB
I suppose I'm missing something obvious...
Within an object "created":"2014-02-01T09:28:56"
OB Get is returning the correct date with:
OB Get($OBGenInfo;"created";Is date) with
But, time always returns ?00:00:02? using:
OB Get($OBGenInfo;"created";Is time)
Or is the time a count down 'till
4 matches
Mail list logo