Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timestamp question
Message
De
22/03/2004 14:00:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00888587
Message ID:
00888605
Vues:
9
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks for your quick reply alex, the problem is that adir returns the time as a time value so props[1,4] gives me 13:59:45 and i cannot figure out how to add 2 hours to that.
>Slán
>~M


IC. Didn't pay attentiom.

One idea is to take the values from elements 3 and 4 (date and time) and create a datetime value out of it, maybe by stripping the individual components and building a datetime string then converting, or maybe easier by supplying the components as parameters to:
Datetime(nYear,nMonth,nDay,nHours,nMinutes,nSeconds) + (60*60*2)


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform