Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WEEK() function for FPW2.5
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00187077
Message ID:
00187162
Views:
20
>>Does anyone have a function for FPW2.5 that would give the same results as the WEEK() function in VFP? I have another developer who is trying to save some development time.
>>
>>TIA
>>Brad
>
>Could you try something like this??? but obviously calculate based on whatever the real first of the current year is... Then based on which day of the week the year starts as an offset before division.
>
>lnWeek = 1+ (date() - ctod( "1/1/1999" )) / 7

I'll pass it over to him.
Thanks,
Brad
Previous
Reply
Map
View

Click here to load this message in the networking platform