Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Day of Year
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00904885
Message ID:
00904889
Views:
12
You can substract the first day of the year from the curranet date
 FUNCTION DayOfTheYear(dDate)
   SET DATE GERMAN
   fday = CTOD("01.01."+STR(YEAR(dDate),4))
RETURN dDate - fDay + 1
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform