>>I got - see attached. Are you trying in the form or from the command window?
>
>
>Command window
I got it to display correct values (with the respect of the SET HOURS) by executing every line of code one at a time:
SET DATE USA
dt = DATETIME() + 3600 *10
SET HOURS TO 24
WAIT WINDOW dt
SET HOURS TO 12
WAIT WINDOW dt
and now it also works if I do all at once.
If it's not broken, fix it until it is.
My Blog