Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you substr a datetime field?
Message
De
02/09/1998 14:07:35
 
 
À
02/09/1998 14:06:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00132460
Message ID:
00132467
Vues:
35
>>>>I want to display and edit the time part of the datetime field.
>>>>How can I substr the time part?
>>>
>>>? substr(ttoc(datetime()),10)
>>thanks Ed -
>>thanks work
>>?substr(ttoc(date_time),11)
>>the display is : 12:45:00 AM
>>Now I want to take off the last two zeros and just display and edit
>>this :12:45 ?
>
>Open help and read about SUBSTR(), please.
------
thanks - i will :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform