Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you substr a datetime field?
Message
De
03/09/1998 11:04:43
 
 
À
02/09/1998 21:50:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00132460
Message ID:
00132796
Vues:
11
>>I want to display and edit the time part of the datetime field.
>>How can I substr the time part?
>

>
>There is some tools you can download at file section.
>I ve a Container Object for DateTime Field in Class VCX,
>just downlaod and take a look.
>
>Even you can do DateTime Field with:
>
>jYear=Year(myDateTime)
>jMonth=Month(myDateTime)
>jDay=Day(myDateTime)
>jHour=Hour(myDateTime)
>jMinute=Minute(myDateTime)
>jSecond=SEC(myDateTime)
>
>You also need to take care:
>Set Date, Set Hour, Set Century
>
>e.g.
>Set Century On
>Set Century to 19 over 80
>Set Hour to 24 && 24 Hours
>Set Date to DMY && American Date Format...
>
>Then, everything you can do now!!
>
>jDate = "{"+jMonth+"/"+jDay+"/"+jYear+"}"
>jTime = jHour+":"+jMinute+":"+jSecond
hi justok,
thanks for your help.. :)
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