>"Use SET HOURS TO without 12 or 24 to return to the default 12-hour format. > >TIME( ) always returns a value in 24-hour format and isn't affected by SET HOURS. The value returned by DATETIME( ) is determined by the current SET HOURS setting. > >SET HOURS is scoped to the current data session." >>
>SET HOURS TO 12 >lcTime=RIGHT(TTOC(DATETIME()),11) >?lcTime >Actually, with passing the additional parameter to ttoc() and changing the settings, you get different outputs:
?TTOC(DATETIME(),2) * 09:23:58 SET SECONDS OFF ?TTOC(DATETIME(),2) * 09:24 SET HOURS TO 12 ?TTOC(DATETIME(),2) * 09:24 AMBTW, I think Evelyn's customers are too americanized...