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