Finding monthend date
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, anyone know of a function already in .Net to return the monthend date of a specified date? If I have a date, 30 April 2007, and call:
myDate.AddMonth(1)
It will return 30 May 2007, but thats not the monthend. Anyone know?DateTime.DaysInMonth
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )