Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date math on Datetime()
Message
De
04/06/2003 10:04:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00796076
Message ID:
00796160
Vues:
15
Jaime - TTOD(DATE)+ 30 is a little more elegant. I was able to figure out the time portion using the TTOC function, just had trouble with incrementing the date.

Thanks

Gaylen



>Gaylen
>If you need the Date portion of a DateTime field, just use the TTOD function. In your case, you could use: TTOD( BindDate ) + 30 .
>If you need the time portion, by the way, check out the TTOC function.
>
>HTH
>Jaime
>
>
>>Have 2 fields in a report - Binddate and Binddate + 30. Binddate is Date field in table. Client now wants date and time in the report so I changed Binddate field to datetime in the table and now both field show the same date as opposed to the second field incrementing by 30 days.
>>
>>Any suggestions?
>>Gaylen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform