Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Last day of month, last tuesday of month, etc
Message
 
À
09/03/2008 20:22:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01300363
Message ID:
01300366
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>But how do I determine if today is the LAST Saturday, Sunday, Monday, etc of the month?
FUNCTION IsLastDayThisMonth(tdDate)
  tdDate = GOMONTH(tdDate,0) && Force DateTime to Date
  RETURN MONTH(tdDate) != MONTH(tdDate+7)
ENDFUNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform