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_ConvertDateTimeToSecond</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">RTC_ConvertDateTimeToSecond <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>s64 RTC_ConvertDateTimeToSecond( const <A href="RTCDate.html">RTCDate</A>* date , const <A href="RTCTime.html">RTCTime</A>* time );</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 date data.</TD>
30    </TR>
31    <TR>
32      <TD><em><strong><font face="Courier New">time</font></strong></em></TD>
33      <TD>Pointer to the buffer storing time data.</TD>
34    </TR>
35  </TBODY>
36</TABLE>
37
38<h2>Return Values</h2>
39<p>The total number of seconds elapsed since 0:00:00 January 1, 2000. If input is invalid, returns -1.</p>
40
41<H2>Description</H2>
42<P>Returns the total number of seconds elapsed since 0:00:00 January 1, 2000 as an s64.</P>
43
44<h2>See Also</h2>
45<P><CODE><A href="RTC_ConvertSecondToDateTime.html">RTC_ConvertSecondToDateTime</A>, <A href="RTCDate.html">RTCDate</A>, <A href="RTCTime.html">RTCTime</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