Dim daysInMonth As Integer = Date.DaysInMonth(Now.Year, Now.Month)
MsgBox(String.Format("Number of days in the current month: {0}", daysInMonth))
Related posts:
- Is this a leap year Dim leapYear As Boolean = Date.IsLeapYear(Now.Year) MsgBox(String.Format("{0} is a leap...
- Current date and time Dim rightNow As Date = Now Dim result As New ...
- Get the exact date and time this will display the exact date and time when the...
Related posts brought to you by Yet Another Related Posts Plugin.
