Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to hande TIME in vfp50a?
Message
 
À
02/09/1997 09:41:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00047460
Message ID:
00048201
Vues:
21
>>>I am writing a program and I need a TIME IN field and
>>>a TIME OUT field. I know I could use VALIDS and check
>>>the user entry, but I thought that vfp50 might have
>>>some built in stuff. Any ideas?
>>Robert,
>>
>>Use a DateTime field for this.
>
>Thanks Jim... I do not need the DATE part of the
>DATETIME fld. Is there a way to use the DATETIME data type
>and only use the TIME part? I need TIME IN and TIME OUT flds.
>thanks..rob
Robert,

You may not need the date part until something runs over midnight. Keep in mind that 2:00PM is meaningless unless you also know what day it is on.

You can display only the time portion of a date tiem field, or only the date, or only the minutes. Essentially anything you want. CDheck out the TTOD(), MINUTE(), SEC(), MONTH(), and other functions that manipulate the DateTime data type.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform