Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display date
Message
From
19/02/2001 18:02:53
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00477454
Message ID:
00477456
Views:
23
>Hi
>
>Anybody knows how to display a datetime value in one textbox as date?...
>This is due i have one table with one datetime field, and using the controlsource whith in it, it displays the seconds, but i dont want to display the seconds in it, so if you can helpme with this ill be very happy...
>I try in various manners without succes:
>Format
>ImputMask
>Putting code in various methods
>
>TIA

If you SET SECONDS OFF the seconds portion of a DateTime will not display.

If you want to display just the date portion, set the controlsource to be TTOD(tDateTime).
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform