Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate the number of days since the beginning of year
Message
From
16/04/1998 17:59:34
 
 
To
16/04/1998 09:34:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00092480
Message ID:
00092715
Views:
26
Your formula depends on SET DATE.

Here is one that doesn't depend on SET DATE:

ldDate - gomonth(ldDate, - month(ldDate) + 1) + day(ldDate)

Vlad

>? date()-ctod("01/01/"+right(str(year(date()),4),2))
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform