Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set First Day Of Week
Message
From
04/03/2003 12:46:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/03/2003 12:34:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00760723
Message ID:
00761033
Views:
24
>Cetin I need it for an app for timesheet's the client's has Monday as FDOW

Yes I see but it only effects if you set related functions' nFirstDayOfWeek parameter to 0. So you don't need it IMHO. ie:

set fdow to 3 && Set tuesday
? dow(date()) && Today is Tuesday - returns 3, Sunday is default
? dow(date(),0) && returns 1, this uses set fdow
? dow(date(),set('fdow')) && returns 1, this uses set fdow
? dow(date(),3) && Same as before w/o using set fdow
? dow(date(),2) && W/o Setting FDOW to Monday, uses Monday as FDOW

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