Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First day of the week
Message
From
13/09/2004 08:03:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00941538
Message ID:
00941565
Views:
11
>Hi all,
>
>I have a date.
>I want to know the first day of the week.
>
>Example : 02/09/2004 => Monday 30/08/2004
>
> 01/08/2004 => Monday 26/07/2004
>
>Thank in advance
>
>bernhart

? GetMonday({^2004/9/2})
? GetMonday({^2004/8/1})

Function GetMonday(tdDate)
return m.tdDate - Dow(m.tdDate,2) + 1

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform