Hi Bart,
If you store a date in an Object as a string, 4D interprets that date as a UTF
date.
So “2019-02-24” (giving only the date but not time) is interpreted as midnight
on the 24th. That is at the stroke of midnight when the 24th day **starts**.
When you retrieve the value around 6:30 PST
I just discovered what I think is a serious bug with 4D reading dates from an
object.
If you store a 4D date value in an object and retrieve it the value is correct.
However, if you retrieve a date that is stored in the format -MM-DD, the
date returned is one day less that the date store
Odd behaviour with the debugger today -- initially thought it might be a
bug in v17R3, but then went back to v14 and found the same behaviour
With the following code:
Trace
For ($Loop1;1;10)
ALERT("Iteration: "+String($Loop1))
For ($Loop2;1;10)
BEEP
End for // <- Pu
3 matches
Mail list logo