1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
\r
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
\r
5 <meta http-equiv="Content-Style-Type" content="text/css">
\r
6 <link rel="up" title="FatFs" href="../00index_e.html">
\r
7 <link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
\r
8 <title>FatFs - get_fattime</title>
\r
14 <h2>get_fattime</h2>
\r
15 <p>The get_fattime function gets current time.</p>
\r
17 DWORD get_fattime (void);
\r
23 <h4>Return Value</h4>
\r
24 <p>Currnet time is returned with packed into a DWORD value. The bit field is as follows:</p>
\r
27 <dd>Year from 1980 (0..127)</dd>
\r
29 <dd>Month (1..12)</dd>
\r
31 <dd>Day in month(1..31)</dd>
\r
33 <dd>Hour (0..23)</dd>
\r
35 <dd>Minute (0..59)</dd>
\r
37 <dd>Second / 2 (0..29)</dd>
\r
43 <h4>Description</h4>
\r
44 <p>The get_fattime function must return any valid time even if the system does not support a real time clock. This fucntion is not required in read only configuration.</p>
\r
48 <p class="foot"><a href="../00index_e.html">Return</a></p>
\r