aqDateTime.GetDayOfYear Method

Applies to TestComplete 15.63, last modified on April 10, 2024


Use the aqDateTime.GetDayOfYear method to get the number of days passed from the beginning of the year to the specified date.



InputDate [in]    Required    Date/Time    
Result Integer

Applies To

The method is applied to the following object:


The method has the following parameter:


Specifies the date whose ordinal number you want to get.

Result Value

The number of days passed since the 1-st of January.

See Also

Working With Dates
Working With Time
GetDayOfWeek Method
GetDay Method
GetMonth Method
GetYear Method
GetHours Method
GetMinutes Method
GetSeconds Method

Highlight search results