1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<title>SSP_GetDateTime</title>
7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" />
8</head>
9<body>
10
11<h1>SSP_GetDateTime <img src="../../image/NTR.gif" align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13
14<pre><code>
15BOOL SSP_GetDateTime(void);
16</code></pre>
17
18<h2>Arguments</h2>
19<p>None.</p>
20
21
22<h2>Return Values</h2>
23<p>Returns <CODE>TRUE</CODE> if successful.<BR>Returns <CODE>FALSE</CODE> if it fails.</p>
24
25<h2>Description</h2>
26<p>Gets the current date and time.<BR>This function's only operation is to call the <a href="../../rtc/RTC_GetDateTime.html"><CODE>RTC_GetDateTime</CODE></a> function. This function is called from the <a href="SSP_SetJpegEncoderDateTimeNow.html"><CODE>SSP_SetJpegEncoderDateTimeNow</CODE></a>, <a href="SSP_StartJpegEncoder.html"><CODE>SSP_StartJpegEncoder</CODE></a>, and <a href="SSP_StartJpegEncoderWithEncodeData.html"><CODE>SSP_StartJpegEncoderWithEncodeData</CODE></a> functions. This function is compiled with weak symbols, so it can be overwritten by user-defined functions.<br>When not overwriting, you must call the <a href="../../rtc/RTC_Init.html"><CODE>RTC_Init</CODE></a> function for the <a href="../../rtc/RTC_GetDateTime.html"><CODE>RTC_GetDateTime</CODE></a> function in advance.
27</p>
28
29<h2>See Also</h2>
30<p><a href="../../rtc/RTC_GetDateTime.html"><CODE>RTC_GetDateTime</CODE></a><BR> <a href="../../rtc/RTC_Init.html"><CODE>RTC_Init</CODE></a><BR> <a href="SSP_SetJpegEncoderDateTimeNow.html"><CODE>SSP_SetJpegEncoderDateTimeNow</CODE></a><BR> <a href="SSP_StartJpegEncoder.html"><CODE>SSP_StartJpegEncoder</CODE></a><BR> <a href="SSP_StartJpegEncoderWithEncodeData.html"><CODE>SSP_StartJpegEncoderWithEncodeData</CODE></a></p>
31
32<h2>Revision History</h2>
33<p>
342009/07/16 Added description that it is necessary to call the <a href="../../rtc/RTC_Init.html"><CODE>RTC_Init</CODE></a> function.<br> 2008/09/15 Initial version.
35</p>
36<hr><p>CONFIDENTIAL</p></body>
37</html>
38