Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First day of the week
Message
De
13/09/2004 08:03:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00941538
Message ID:
00941565
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform