Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Week
Message
From
27/11/2002 13:21:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Week
Miscellaneous
Thread ID:
00727666
Message ID:
00727677
Views:
11
Hey Sergey,

Here's a complicated "one-liner" solution (I think)...

? SYS( 10, VAL( SYS( 11, DATE() ) ) - MOD( VAL( SYS( 11, DATE() - ( WEEK( DATE() ) - 1 ) * 7 ) ), 7 ) )

:)

Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform