Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
#include <rtl.h> U32 fs_get_date ( void);
The function fs_get_date returns a date value. The year, month, and day values are packed in the 3 least significant bytes of the 4-byte return value.
The fs_get_date function is part of the library RL-FlashFS. The prototype is defined in the file file_config.h.
To change the default return value developers must:
date value
fs_get_time
U32 fs_get_date (void) { U32 d,m,y,date; /* Adapt the function; Add a system call to read RTC. */ d = 1; /* Day: 1 - 31 */ m = 11; /* Month: 1 - 12 */ y = 2006; /* Year: 1980 - 2107 */ date = (y << 16) | (m << 8) | d; return (date); }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.