Return the month (a number from 1 to 12) for a given date.
Syntax Month(date_value) Key date_value A valid date.
Dim intDemo
intDemo = Month(dtmShiftEnd)
intDemo = Month(#30/12/2012 08:55:00 AM#)
“What would be the use of immortality to a person who cannot use well a half an hour” ~ Ralph Waldo Emerson
Day - Return the day of the month.
DatePart - Return part of a given date.
Year - Return the year for a given date.
GetDate.vbs - Return the current Year/month/Day and time.