diff options
Diffstat (limited to 'src/sys/sys.h')
-rw-r--r-- | src/sys/sys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/sys.h b/src/sys/sys.h index 5e41daa..3d94bcb 100644 --- a/src/sys/sys.h +++ b/src/sys/sys.h @@ -45,6 +45,8 @@ void sleep(float seconds); /// return the current system time of day, in seconds after midnight unsigned long time(); +/// get the current system date and time +void get_datetime(int &year, int & month, int & day, int & hours, int & minutes); } #include "sys/consoleinterface.h" |