openMSX
Date.hh
Go to the documentation of this file.
1 #ifndef DATE_HH
2 #define DATE_HH
3 
4 #include <string>
5 #include <ctime>
6 
7 namespace openmsx {
8 namespace Date {
9 
10  // 'line' must point to a buffer that is at least 24 characters long
11  time_t fromString(const char* line);
12 
13  std::string toString(time_t time);
14 
15 } // namespace Date
16 } // namespace openmsx
17 
18 #endif
std::string toString(time_t time)
Definition: Date.cc:152
time_t fromString(const char *p)
Definition: Date.cc:31