a8c41e04cd7cfd9bfb00cbfa1ce4ade891eb3e42
tdreszer
  Tue Jan 11 13:04:44 2011 -0800
Added a couple of date routines
diff --git src/inc/common.h src/inc/common.h
index b286318..5044395 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -1354,16 +1354,22 @@
 // It is sometimes useful to distinguish between 3 "boolean" states: TRUE, FALSE and UNKNOWN
 enum enumBool
     {
     beUnknown=0,              // Not yet set
     ebYes=1,                  // already set to TRUE
     ebNo=-1                   // already set to FALSE
     };
 #define SET_TO_YES(ebool) { (ebool) = ebYes; }
 #define SET_TO_NO(ebool)  { (ebool) = ebNo; }
 #define IS_YES(ebool)     ((ebool) == ebYes)
 #define IS_NO(ebool)      ((ebool) == ebNo)
 #define IS_KNOWN(ebool)   (IS_YES(ebool) || IS_NO(ebool))
 #define IS_TRUE           IS_YES
 #define IS_FALSE          IS_NO
 
+time_t dateToSeconds(const char *date,const char*format);
+// Convert a string date to time_t
+
+boolean dateIsOld(const char *date,const char*format);
+// Is this string date older than now?
+
 #endif /* COMMON_H */