diff options
author | Stijn Buys <ingar@osirion.org> | 2009-04-13 09:47:36 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-04-13 09:47:36 +0000 |
commit | bb2050fa9854064f21e7e01d7da2eb7be9582b52 (patch) | |
tree | 4c10f94827b34a6509e490cdfdeb74a03aed4d32 /src/sys/sys.h | |
parent | 3885d7521fdaea218e9e8f98156be472f2e58b5c (diff) |
added sys::get_datetime, added win32 time and date functions
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" |