Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Months elasped between dates
Message
De
25/07/2002 16:33:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00682340
Message ID:
00682764
Vues:
15
>How do you write a function that will allow me to determine the number of months that has transpired between to dates
>
>Thnaks
>Nick Patel

Convert each date to a number with val(dtos(...)). Subtract, and divide by 100. Apply int() to the result.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform