Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating a number with dates
Message
 
À
10/12/1999 12:23:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00301801
Message ID:
00301855
Vues:
22
>45-((date()-[date1])-[date2])
>

James,

Besides my other question, the formula you have above is forcing the first subtraction to be done first. The 45- would cause a problem but you could process the dates as;

(Date() - (Date1-Date2))

Which would give the date that is the same number of days before today as the difference between date1 and date2
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform