Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating a number with dates
Message
 
To
10/12/1999 12:23:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00301801
Message ID:
00301855
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform