Ticket #9693: build.cpp
| File build.cpp, 368 bytes (added by , 9 years ago) |
|---|
| Line | |
|---|---|
| 1 | #include <boost/date_time/posix_time/posix_time.hpp> |
| 2 | #include <boost/log/common.hpp> |
| 3 | #include <boost/log/expressions.hpp> |
| 4 | #include <boost/log/expressions/formatters/date_time.hpp> |
| 5 | #include <boost/log/support/date_time.hpp> |
| 6 | |
| 7 | int main(int argc, char* argv[]) |
| 8 | { |
| 9 | boost::log::expressions::format_date_time< boost::posix_time::ptime >("TimeStamp", "%Y-%m-%d %H:%M:%S"); |
| 10 | } |
| 11 |
