]> git.tdb.fi Git - libs/core.git/blob - source/time/utils.cpp
Move most platform-specific code into overlay directories
[libs/core.git] / source / time / utils.cpp
1 #include "datetime.h"
2 #include "timestamp.h"
3 #include "utils.h"
4
5 using namespace std;
6
7 namespace Msp {
8 namespace Time {
9
10 string format_now(const string &fmt)
11 {
12         return DateTime(now()).format(fmt);
13 }
14
15 } // namespace Time
16 } // namespace Msp