Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get date of end week?
Message
De
25/05/2001 08:39:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/05/2001 07:51:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00511412
Message ID:
00511442
Vues:
16
>Hi,
> How to get the date of the end of a particular week?
>
>Thank you

date()-dow(date())+7

If you wouldn't use default FirstDayOfWeek then include it in dow. ie : FirstDayOfWeek is eaxatcly Monday whatever the settings are :
date()-dow(date(),2)+7
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