Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set First Day Of Week
Message
De
04/03/2003 12:46:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/03/2003 12:34:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00760723
Message ID:
00761033
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform