day()

Returns the day of the month.

Synopsis

int day( time t);

Parameters

Parameter Meaning
t Time

Return Value

Day as an integer.

Description

Returns the day of month (1...31) of the time t.

Example

main()


{


  time t;


  t = makeTime(1999,8,18,13,40);


  DebugN(day(t)); // Returns 18


}

Assignment

Time function

Availability

CTRL