GetMonth

Description

Returns the month of a year from a datetime expression.

Syntax

GetMonth(datetime_expression)

Examples

GetMonth(ToDate('2013-09-10T08:02:31.667Z')) returns 9

Return value datatype

Integer

Impact of null value

If input is null, returns null.