X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fdatetime.h;h=c1f549f6b4d88025a3e37d9d59fd0e1138d81d51;hp=032fe5d8c3c62b2666ec0e6be5bf7f74d300425e;hb=b9c3763a932cebaa015a27fe111017f6f34dfbaa;hpb=37a8d59548287dcad78ef00e7b18058721eb9935 diff --git a/include/datetime.h b/include/datetime.h index 032fe5d..c1f549f 100644 --- a/include/datetime.h +++ b/include/datetime.h @@ -28,7 +28,7 @@ public: void Add(const int seconds=0, const int minutes=0, const int hours=0, const int days=0, const int months=0, const int years=0); void Set(const int year=1970, const int month=1, const int day=1, const int hour=0, const int minute=0, const int second=0); - void Set(const time_t &timet); + void SetT(const time_t &timet); void Set(const struct tm *stm); void Set(const std::string &datestring); // method only will work with a select few basic input formats