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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>VFTime</title> 9</head> 10 11<body> 12 13<h1>VFTime</h1> 14 15<h2>C Specification</h2> 16<dl><dd><pre><code> 17#include <revolution/vf.h> 18 19typedef struct VFTime { 20 s32 sec; /* Second (0 - 59) */ 21 s32 min; /* Minute (0 - 59) */ 22 s32 hour; /* Hour (0 - 23) */ 23 s32 day; /* Day (1 - 31) */ 24 s32 month; /* Month (1 - 12) */ 25 s32 year; /* Year (1 - 65534) */ 26} VFTime; 27</code></pre></dd></dl> 28 29 30<H2>Description</H2> 31<p> 32This is the structure for the timestamp configured with <a href="./VFSetTimeStampCallback.html"><CODE>VFSetTimeStampCallback</CODE></a>.<br><br> 33 34<TABLE border="1" > 35 <tr> 36<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>sec</EM></STRONG></CODE></TD> 37<TD width="520">The seconds. Sets a value between 0 and 59.<br>If a leap second (60) has been configured, it is treated as 60.</TD> 38 </tr> 39 <tr> 40<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>min</EM></STRONG></CODE></TD> 41<TD width="520">The minute. Sets a value between 0 and 59.</TD> 42 </tr> 43 <tr> 44<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>hour</EM></STRONG></CODE></TD> 45<TD width="520">The hour. Sets a value between 0 and 23.</TD> 46 </tr> 47 <tr> 48<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>day</EM></STRONG></CODE></TD> 49<TD width="520">The day. Sets a value between 1 and 31.</TD> 50 </tr> 51 <tr> 52<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>sec</EM></STRONG></CODE></TD> 53<TD width="520">The month. Sets a value between 1 and 12.</TD> 54 </tr> 55 <tr> 56<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>sec</EM></STRONG></CODE></TD> 57<TD width="520">The year. Sets a value between 1 and 65534.</TD> 58 </tr> 59</TABLE> 60 61</p> 62 63<h2>See Also</h2> 64<p> 65<code><a href="./VFSetTimeStampCallback.html">VFSetTimeStampCallback</a></code></code> 66</p> 67 68<H2>Revision History</H2> 69<p>2006/04/27 Initial version.</p> 70 71 72<hr><p>CONFIDENTIAL</p></body> 73</html> 74