Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get Monday's date from given date?
Message
De
16/04/2002 14:57:47
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
 
À
16/04/2002 14:50:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00645626
Message ID:
00645633
Vues:
13
To find previous Monday, put this into a loop:

If !Dow(Date())=2 && Not Monday now...
For x =1 to 6
If DOW(Date()-x)=2
Messagebox("Got last Monday.")
Endif
Next
Endif

HTH,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform