Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
End of the month
Message
De
05/08/2009 00:15:27
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
05/08/2009 00:09:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01416146
Message ID:
01416149
Vues:
85
>how can I get the date for the end of the month?
>
>I want the salary receipts dated on 08/31/2009 (end of the month), eventhough I print them on the middle of the month.

d2=gomonth(d1,1)
d2=d2-day(d2)

IOW, go to the day one month ahead, then subtract that day's day-of-month number. For today, you get 5th September, -5 days takes you to 31st August.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform