yearDay()

Returns the day of a time as a value between 1 and 366.

Synopsis

int yearDay(time t);

Parameters

Parameter Description
t Time

Description

Returns the day of the year (1 ... 366) of a time t.

Example

main()
{
  time t;
  t = makeTime(1999,8,18,13,40);
  DebugN(yearDay(t));
// the 230th day
}

Assignment

Time function

Availability

CTRL