Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Day of year in number
Message
From
17/06/2003 09:02:27
 
 
To
17/06/2003 08:57:24
Julie Ball
Gardner Publications, Inc.
Cincinnati, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00800745
Message ID:
00800747
Views:
26
This message has been marked as the solution to the initial question of the thread.
>I want to display the day of the year as a number; for example: Feb. 1st would be displayed at day 32 of the year. Anyone know the correct syntax? I am working in Visual 7. Thanks for your help.
ldDate = DATE()
? ldDate - DATE(YEAR(ldDate),1,1) + 1
* or
? ldDate - DATE(YEAR(ldDate)-1,12,31)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform