Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get 'Military' Time from DateTime()
Message
 
 
À
02/09/2008 08:47:38
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01344071
Message ID:
01344083
Vues:
21
This message has been marked as the solution to the initial question of the thread.
? SUBSTR(TTOC(DATETIME(),1),9,4)
>How can I return just the 4 characters representing 24-hour time from a DateTime() function?:
>
>I need to get:
>
>"1615"
>
>From this:
>
>{09/02/2008 04:15:37 PM}
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform