MonthFromDateTime (Reserved Word)

image\trumpet2.gif Disclaimer

Returns the month for the specified DateTime value.

MonthFromDateTime(dDateTime);

Where dDateTime is a double-precision decimal expression representing the Julian Date (since 1900) and time (since midnight).

Remarks

If a specific date is entered for the numeric expression, it must be a valid Julian date between January 1, 1901 and February 28, 2150, expressed in DateTime format.

Examples

Value1 = MonthFromDateTime(37564.61200);  returns a value of 11 (November) for the specified DateTime of 37564.61200 (11/4/2002 2:41:17 PM).