>>>>>>>Hi,
>>>>>>>
>>>>>>>When I Set Hours to 12, datetime() is returning a time as if I had set hours to 24. How can I be sure to get a 12 hours notation?
>>>>>>>
>>>>>>>Regards,
>>>>>>>
>>>>>>>Koen
>>>>>>
>>>>>>
>>>>>>Set Hours is scoped to the current datasession - works well over here
>>>>>
>>>>>Does not work from the command window:
>>>>>
>>>>>SET HOURS TO 12
>>>>>?DATETIME()
>>>>>SET HOURS TO 24
>>>>>?DATETIME()
>>>>>dt = DATETIME() + 3600 *10
>>>>>?dt
>>>>>SET HOURS TO 12
>>>>>?dt
>>>>>
>>>>
>>>>
>>>>Somehow it works over here
>>>>
>>>>
>>>>dt = datetime+ 3600*10
>>>>SET HOURS TO 12
>>>>?dt
>>>>
>>>>set hours to 24
>>>>?dt
>>>>
>>>
>>>I got - see attached. Are you trying in the form or from the command window?
>
>One thing confuses me (just from reading the Help):
>SET HOURS Command sets the system clock to a 12- or 24-hour time format.
>SET HOURS is scoped to the current data session.
>
>So how many system clocks are there :-}
I've got 4 processors - don't know about the system clocks though
Gregory