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.
DateTime Functions (cont'd)<br />
> int hour() const<br />
returns the hour (0 - 23)<br />
> int hourAMPM() const<br />
returns the hour (0 - 12)<br />
> bool isAM() const<br />
returns true if hour() < 12, false otherwise<br />
> bool isPM() const<br />
returns true if hour() >= 12, false otherwise