Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Week Function
Message
From
16/12/2008 03:57:10
 
 
To
15/12/2008 18:38:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01367670
Message ID:
01367749
Views:
9
>WEEK(DATE(2008,12,29)) returns 1.. Does anyone has dealing with that? How to solve?

What value are you expecting? What's the context of that date value? Calculating the week number is not just a question of the date. There are other conditions to consider as well.

For example, here in Germany (and many other countries in Europe), week #1 would be correct, for this date.
Holger Vorberg
Germany
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform