Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to display date
Message
De
19/02/2001 18:02:53
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00477454
Message ID:
00477456
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform