The get_fattime function gets the current time.
DWORD get_fattime (void);
Currnet local time is returned in bit-fields packed into a DWORD value. The bit field is as follows:
The get_fattime function shall 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 timestamp.
This function is not needed when _FS_READONLY == 1 or _FS_NORTC == 1.