Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date math on Datetime()
Message
 
À
04/06/2003 07:26:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00796076
Message ID:
00796084
Vues:
14
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
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform