Algosim documentation: DayOfTheYear

DayOfTheYear

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

Syntax

Description

DayOfTheYear(t) returns the day of the year (1–366) at t.

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
DayOfTheYear(t)
158