Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Last day of the month
Message
 
À
07/02/2003 22:52:51
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00750917
Message ID:
00751079
Vues:
16
You can use this:
Public Function GetEOM(ByVal pdtmdate As Variant) As Date
    GetEOM = DateAdd("d", -1, DateSerial(Year(pdtmdate), Month(pdtmdate) + 1, 1))
End Function
>Hi all,
>
>i would like to know if there a function can be recall the last date of the month.
>
>Kevin
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform