MPD  0.20.15
Functions
TimeParser.hxx File Reference
#include <chrono>
Include dependency graph for TimeParser.hxx:

Go to the source code of this file.

Functions

std::chrono::system_clock::time_point ParseTimePoint (const char *s, const char *format)
 Parse a time stamp. More...
 

Function Documentation

◆ ParseTimePoint()

std::chrono::system_clock::time_point ParseTimePoint ( const char *  s,
const char *  format 
)

Parse a time stamp.

Throws std::runtime_error on error.