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<br />
> int year() const<br />
returns the year<br />
> int month() const<br />
returns the month (1 - 12)<br />
> int week(int firstDayOfWeek = DateTime::MONDAY) const<br />
returns the week number <strong>with</strong>in the year, according to ISO 8601<br />
(week 1 is the week containing January 4); firstDayOfWeek<br />
should be DateTime::MONDAY or DateTime::SUNDAY.<br />
> int day() const<br />
returns the day <strong>with</strong>in the month (1 - 31)