From f62b1f5500a183495e1e80d1485d2a783a37c2b2 Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 28 Jul 2006 09:57:00 +0000 Subject: 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 --- src/include/cctk_Misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/cctk_Misc.h') 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); -- cgit v1.2.3