aqDateTime.GetYear Method

Applies to TestComplete 12.60, last modified on September 17, 2018

Description

Use the aqDateTime.GetYear method to get the year of the specified date.

Declaration

aqDateTime.GetYear(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 year you want to get.

Result Value

The number of the year.

See Also

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

Highlight search results