>>Hi,
>>
>>I have a report which shows the date and the time when the report is printed (on the top of the report). I use the following expression:
>>
>>TTOC( DATETIME() )
>>
>>This prints the date and time exactly as I want to. Except it also prints the seconds. I prefer to print only hours and minutes and PM/AM.
>>
>>I know that I can Set Seconds Off.
>>But, I am wondering, is it possible to Set Seconds Off somewhere in the Report (FRX file) and then restore the setting?
>
>Try ttoc(datetime(),2)
>Chop left five of it if you hate seconds. Ah, you're using that ridiculous day with 12+12 hours instead of 24? Then what others said about on/off.
I believe I tried ttoc(datetime(),2) but somehow I did not like it.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham