#ifndef TgscUtils_hxx_seen #define TgscUtils_hxx_seen #include #include /// Set of useful SlowControl functions. namespace gscUtils { /// Given date in string of form "YYYY-MM-DD" and time as "HH:MM:SS" /// this functions encodes it to the format of _i_time in MySQL table int EncodeTime(const char *date_yyyymmdd, const char *time_hhmmss); /// Returns encoded current time int GetEncodedCurrentTime(); /// Return enconded time of one week before current time int GetEncodedPreviousWeek(); } #endif