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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Formatting Date <strong>and</strong> Time<br />
> <strong>Poco</strong>::DateTimeFormatter can be used to format <strong>date</strong>s <strong>and</strong> <strong>time</strong>s<br />
(Timestamp, DateTime, LocalDateTime <strong>and</strong> Timespan) <strong>as</strong> strings.<br />
> #include "<strong>Poco</strong>/DateTimeFormat.h"<br />
> <strong>Poco</strong>::DateTimeFormatter uses a format string similar to<br />
strf<strong>time</strong>(). For details, ple<strong>as</strong>e see the reference documentation.<br />
> Pre-defined format strings for commonly used formats can be<br />
found in cl<strong>as</strong>s <strong>Poco</strong>::DateTimeFormat.