Working with date and time, time spans, time zones as well ... - Poco
Working with date and time, time spans, time zones as well ... - Poco
Working with date and time, time spans, time zones as well ... - Poco
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
DateTimeParser Functions (cont'd)<br />
> bool tryParse(const std::string& fmt, const std::string& str,<br />
DateTime& <strong>date</strong>Time, int& tzd)<br />
tries to parse a <strong>date</strong> <strong>and</strong> <strong>time</strong> in the format given in fmt from the<br />
string str. If successful, stores the <strong>date</strong> <strong>and</strong> the <strong>time</strong> in <strong>date</strong>Time<br />
<strong>and</strong> the <strong>time</strong> zone differential in tzd. Returns true if successful,<br />
otherwise false.