Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Seconds Off for a report
Message
From
24/02/2024 05:02:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01687644
Message ID:
01687647
Views:
38
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform