Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning Chronological Day of Year
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00475770
Message ID:
00475791
Views:
42
>Is there a function or command in VFP6 to return the chronological day of the year. For example, today, 2/14/2001, is day 45. TIA, Chuck.

There is no such function in Foxpro but you can do it in one line:
ldDate = DATE()
LnDays = ldDate - DATE(YEAR(ldDate),1,1) + 1
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform