X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/02c7f0f453d4237a6cf6bec885863a32addb6d75..1b2e8014ab6bc93d0ab0fe320ad3cfc8ed94ab81:/stglibs/common.lib/include/stg/common.h diff --git a/stglibs/common.lib/include/stg/common.h b/stglibs/common.lib/include/stg/common.h index 14ba7220..8e82d2a8 100644 --- a/stglibs/common.lib/include/stg/common.h +++ b/stglibs/common.lib/include/stg/common.h @@ -150,6 +150,8 @@ bool WriteAll(int sd, const void * source, size_t size); std::string ToPrintable(const std::string & src); +std::string formatTime(time_t value); +time_t readTime(const std::string & value); //----------------------------------------------------------------------------- int str2x(const std::string & str, int32_t & x); int str2x(const std::string & str, uint32_t & x);