AnyLogic
Expand
Font size

getDayOfYear

getDayOfYear(Date date)

Description

Returns the serial number of the day in the year, in the specified date.

Returned value is an integer.

Parameter

Name Type of value Description
date java.util.Date A date, presented in the form of the Date Java class.

Result

Type Description
int The serial number of the day in the year in the specified date value.
How can we improve this article?