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 10:31:11
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00092480
Message ID:
00092514
Views:
24
Ian,

You are correct, the expression needs a '+1'

>>>In Edward's example, you might want to consider to use the 4 character year to be Y2K.
>>>? date()-ctod("01/01/"+str(year(date()))
>>
>>This is what I did. :)
>
>But this solution is wrong by one day! - my diary says today is the 106th day of the year - not the 105th :-)
----------------------------------
-myron kirby (mkirby2000@gmail.com)-
Previous
Reply
Map
View

Click here to load this message in the networking platform