Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateDiff
Message
De
22/02/2001 06:38:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/02/2001 05:21:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00478312
Message ID:
00478329
Vues:
24
>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

Kevin,
Could you elaborate it more. gomonth() sounds to be an option.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform