aqDateTime.GetYear Method

Applies to TestComplete 15.0, last modified on October 14, 2021

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
GetDayOfWeek Method
GetDayOfYear Method
GetDay Method
GetMonth Method
GetHours Method
GetMinutes Method
GetSeconds Method

Highlight search results