RTC_ConvertDateToDay

C Specification

#include <nitro/rtc.h>
s32 RTC_ConvertDateToDay( const RTCDate* date );

Arguments

date Pointer to the buffer storing date data.

Return Values

The total number of days elapsed, using January 1, 2000 as 0. If input is invalid, returns -1.

Description

Returns as an s32 the total number of days elapsed, using January 1, 2000 as 0.

See Also

RTC_ConvertDayToDate, RTCDate

Revision History

05/17/2005 Initial version.