move toEpoch to helpers.cpp, use strptime

Origin commit data
------------------
Branch: ni/coolstream
Commit: 52741fb1e4
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-01-04 (Sat, 04 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2014-01-04 20:48:13 +01:00
parent caf2b42622
commit 14cdfd14f7
3 changed files with 13 additions and 11 deletions

View File

@@ -47,6 +47,7 @@ std::string getFileName(std::string &file);
std::string getFileExt(std::string &file);
std::string getNowTimeStr(const char* format);
std::string trim(std::string &str, const std::string &trimChars = " \n\r\t");
time_t toEpoch(std::string &date);
class CFileHelpers
{