Algosim documentation: DayOfTheMonth

DayOfTheMonth

Returns the day of the month at a particular point in time.

Syntax

Description

DayOfTheMonth(t) returns the day of the month (1–31) at t.

If t is a Date or a DateTime structure, it is better to retrieve this information by accessing the month member.

Examples

t ≔ datetime(1985, 06, 07, 18, 20, 52, 137)
date.year: 1985
date.month: June
date.day: 7
time.hour: 18
time.minute: 20
time.second: 52
time.millisecond: 137
DayOfTheMonth(t)
7
t.date.day
7