Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-04-13 09:47:36 +0000
committerStijn Buys <ingar@osirion.org>2009-04-13 09:47:36 +0000
commitbb2050fa9854064f21e7e01d7da2eb7be9582b52 (patch)
tree4c10f94827b34a6509e490cdfdeb74a03aed4d32 /src/sys/sys.h
parent3885d7521fdaea218e9e8f98156be472f2e58b5c (diff)
added sys::get_datetime, added win32 time and date functions
Diffstat (limited to 'src/sys/sys.h')
-rw-r--r--src/sys/sys.h2
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"