Important update:

- DateTimeCore:
  - Bug fix: BuildDateTimeStr() incorrect date
  - New methods: ReadDateTime() convert DateTimeStr -> time_t
This commit is contained in:
Charl Wentzel
2019-07-22 10:59:24 +02:00
parent fb28f86ae9
commit 55168dece2
2 changed files with 27 additions and 2 deletions

View File

@@ -39,6 +39,8 @@ bool ReadDate( const time_t EpochTime, bool LocalTime, unsigned char &Day, un
bool ReadDateTime( const time_t EpochTime, bool LocalTime, unsigned char &Day, unsigned char &Month, unsigned &Year,
unsigned char &Hours, unsigned char &Minutes, unsigned char &Seconds );
bool ReadDateTime( const char * DateTimeStr, bool LocalTime, time_t &EpochTime );
bool ReadTimeStr( const char *DateTimeStr, unsigned char &Hours, unsigned char &Minutes, unsigned char &Seconds, bool Maxtime = false );
bool ReadDateStr( const char *DateTimeStr, unsigned char &Day, unsigned char &Month, unsigned &Year );
bool ReadDateTimeStr( const char *DateTimeStr, unsigned char &Day, unsigned char &Month, unsigned &Year,