1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>RTC_ConvertDayToDate</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">RTC_ConvertDayToDate <img src="../image/NTR.gif" align="middle"><img src="../image/TWL.gif" align="middle"></h1>
15
16<h2>Syntax</h2>
17
18<dl>
19  <dd>
20<CODE>#include &lt;nitro/rtc.h&gt;</CODE><BR>
21  <PRE><CODE>void RTC_ConvertDayToDate( <A href="RTCDate.html">RTCDate</A>* date, s32 day );</CODE></PRE>
22  </dd>
23
24</dl><h2>Arguments</h2>
25<TABLE border="1" width="100%">
26  <TBODY>
27    <TR>
28      <TD width="300"><em><strong><font face="Courier New">date</font></strong></em></TD>
29      <TD width="700">Pointer to the buffer storing the date data.</TD>
30    </TR>
31    <TR>
32      <TD><em><strong><font face="Courier New">day</font></strong></em></TD>
33      <TD>Total elapsed number of days, using January 1, 2000 as 0.</TD>
34    </TR>
35  </TBODY>
36</TABLE>
37
38<h2>Return Values</h2>
39<p>None.</p>
40
41<H2>Description</H2>
42<P>Converts the total number of days that have elapsed since January 1, 2000 into an <A href="RTCDate.html"><CODE>RTCDate</CODE></A> type.<BR>The day must be 0 or more and 36524 or lower. If less than 0 it is changed to 0 and if more than 36524 it is changed to 36524. Then the result is returned.</P>
43
44<h2>See Also</h2>
45<P><CODE><A href="RTC_ConvertDateToDay.html">RTC_ConvertDateToDay</A>, <A href="RTCDate.html">RTCDate</A></CODE></P>
46
47<H2>Revision History</H2>
48<P>
492005/05/17 Initial version.
50</P>
51<hr><p>CONFIDENTIAL</p></body>
52</html>
53