Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateDiff
Message
De
22/02/2001 05:21:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
DateDiff
Divers
Thread ID:
00478312
Message ID:
00478312
Vues:
40
I need to write a DateDiff function for differences in Months, the closest I can come to is:

INT((tdEndDate-tdStartDate)/30)

Which is a bit assumptious, I understand that there is a long way of doing this by checking which 2 months you are comparing and altering the figures accordingly, but I was wondering if there was a straight forward way of doing it.

Thanks
Kev
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform