summaryrefslogtreecommitdiff
path: root/src/include/cctk_Misc.h
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-07-28 09:57:00 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-07-28 09:57:00 +0000
commitf62b1f5500a183495e1e80d1485d2a783a37c2b2 (patch)
tree923acee14768cbc95bab0acb5b010bddfeda1344 /src/include/cctk_Misc.h
parent9afa1e7125a6f8298c9a55ada195a9db0c745876 (diff)
Add new flesh API functions CCTK_CompileDateTime() and Util_CurrentDateTime()
to return a date/time stamp following the ISO 8601 standard format if possible (see http://www.cactuscode.org/old/pipermail/developers/2006-July/004971.html). Add the timezone information in the time stamp returned by Util_CurrentTime(). You also need to update lib/make/make.configuration now in order to compile src/datestamp.c. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4358 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Misc.h')
-rw-r--r--src/include/cctk_Misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/cctk_Misc.h b/src/include/cctk_Misc.h
index a51f7a87..6ac16e56 100644
--- a/src/include/cctk_Misc.h
+++ b/src/include/cctk_Misc.h
@@ -45,6 +45,7 @@ int CCTK_SetBoolean(CCTK_INT *data, const char *value);
int CCTK_RunTime(void);
int Util_CurrentTime(int len, char *now);
int Util_CurrentDate(int len, char *now);
+char *Util_CurrentDateTime(void);
int CCTK_RunTitle(int len, char *title);