Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining the End of the Month
Message
 
À
18/03/1999 11:05:52
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00199069
Message ID:
00199267
Vues:
25
Learn someting new here every day! I never post the EOM() date in my applications. Just FOM() and TODAY().

Now with the Mere Mortals framework the date classes use Quicken like key strokes so I don't have to do anything! FTYR all get the right dates.

__Stephen Russell


>Stephen,
>
>
>>*-- last day of the current month
>>mdate2=gomonth(date(),1)-day(date())
>
>This would go wrong when the date = jan 31
>
>this should be:
>mdate2=gomonth(date()-day(date())+1,1)-1
>
>Regards, Walter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform