AnyLogic
Expand
Font size

getDayOfMonth

getDayOfMonth()

Description

Returns the day of the month of the current model date with respect to the start time/date and the model time unit.

The first day of the month has 1 as the value.

Result

Type Description
int The day of the month of the current model date with respect to the start time/date and the model time unit.

getDayOfMonth(Date date)

Description

Returns the serial number of the day of the month of the specified date.

The first day of the month has 1 as the value.

Parameter

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

Result

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