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_GetDateTimeExFromSWClock</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">RTC_GetDateTimeExFromSWClock <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 <nitro/rtc.h></CODE><BR> 21 <PRE><CODE><A href="RTCResult.html">RTCResult</A> RTC_GetDateTimeExFromSWClock( <A href="RTCDate.html">RTCDate</A>* date ,<A href="RTCTimeEx.html">RTCTimeEx</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 where date information will be stored.</TD> 30 </TR> 31 <TR> 32 <TD><em><strong><font face="Courier New">timeEx</font></strong></em></TD> 33 <TD>Pointer to the buffer where time information will be stored.</TD> 34 </TR> 35 </TBODY> 36</TABLE> 37 38<h2>Return Values</h2> 39<P> 40Returns the results from the last call to the <code><A href="RTC_SyncSWClock.html">RTC_SyncSWClock</A></code> function. If a nonzero value is returned, software clock synchronization has failed. 41</P> 42 43<h2>Description</h2> 44<P> 45Uses the software clock to get date and time data. This function works in a similar way to <code><A href="RTC_GetDateTime.html">RTC_GetDateTime</A></code> function, but specifies <code><A href="RTCTimeEx.html">RTCTimeEx</A></code> as a buffer to store the time data, instead of <code><A href="RTCTime.html">RTCTime</A></code>. <code><A href="RTCTimeEx.html">RTCTimeEx</A></code> stores time data to millisecond accuracy. 46</P> 47 48<h2>See Also</h2> 49<P><CODE><A href="RTC_SyncSWClock.html">RTC_SyncSWClock</A>, <A href="RTCResult.html">RTCResult</A>, <A href="RTCDate.html">RTCDate</A>, <A href="RTCTimeEx.html">RTCTimeEx</A></CODE></P> 50 51<H2>Revision History</H2> 52<P> 532008/04/17 Initial version. 54</P> 55<hr><p>CONFIDENTIAL</p></body> 56</html> 57