aqDateTime.GetMonth Method

Applies to TestComplete 14.10, last modified on June 5, 2019

Description

Use the aqDateTime.GetMonth method to get the month number of the specified date.

Declaration

aqDateTime.GetMonth(InputDate)

InputDate [in]    Required    Date/Time    
Result Integer

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

InputDate

Specifies the date whose month number you want to get.

Result Value

The number of the month.

See Also

Working With Dates
Working With Time
aqDateTime.GetDayOfWeek Method
aqDateTime.GetDayOfYear Method
aqDateTime.GetDay Method
aqDateTime.GetYear Method
aqDateTime.GetHours Method
aqDateTime.GetMinutes Method
aqDateTime.GetSeconds Method

Highlight search results