Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TIME from DATETIME()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01025859
Message ID:
01025911
Vues:
15
>>Hey Gurus....
>>
>>My mind is slipping in my old age.
>>
>>What is an easy(?) way to get the TIME component out of a DATETIME value (store the TIME part to a string variable)?
>>
>>Thanks!
>
>?TTOC(DATETIME(),2)
>But in help:
>
>
>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.

Thanks for the info!!
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform