Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time Display
Message
 
 
À
05/01/2001 21:28:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00460135
Message ID:
00460140
Vues:
14
>Hi all,
>I have a date/time field but in the textbox, I only want to get/show the Time. Is there any way I can do this through an input pask or format property or any other way.
>
>Thanks & regards
>
>Abdul Ahad Khan

Abdul,

Check Time() and TTOC() functions in the Help, I think, they should help you. This is from HELP on TTOC():
2

Specifies that TTOC( ) return a Character string consisting of only the time portion of the DateTime expression. The settings of SET SECONDS and SET DATE specify if the seconds portion of the time is included in the character string. Note that if SET DATE is set to LONG or SHORT, the format of the character string is determined by the format of the Control Panel time setting.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform