Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Manipulating dates
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00154553
Message ID:
00154564
Vues:
20
You can use the GOMONTH function. For example:
IF GOMONTH(RecordDate,-2)<=DATE()
  * Flag record
ENDIF
>Hi all,
>
>I have to create a function where I need to flag a record where the (RecordDate - 2 months) <= date(). I'm not sure how to do it. Can I just create something like an arithmetic statement to do the job??
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform