diff options
Diffstat (limited to 'src/user/include')
-rw-r--r-- | src/user/include/knob/time.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/user/include/knob/time.h b/src/user/include/knob/time.h new file mode 100644 index 0000000..4b84697 --- /dev/null +++ b/src/user/include/knob/time.h @@ -0,0 +1,13 @@ +#include <stdint.h> + +struct time { + uint16_t year;//ad + uint8_t month;//jan = 1 + uint8_t day; + uint8_t hour;//24-hour, midnight = 0 + uint8_t minute; + uint8_t second; + uint32_t timestamp; +}; + +struct time get_time();
\ No newline at end of file |