27.11.2014 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DateTime <strong>and</strong> Timespan Calculations<br />

> DateTime, LocalDateTime <strong>and</strong> Timespan can be used together for<br />

<strong>date</strong> <strong>and</strong> <strong>time</strong> arithmetics, e.g.:<br />

> add a number of days to a <strong>date</strong><br />

> add a number of hours to a <strong>date</strong><br />

> calculate the difference between two <strong>date</strong>s in days (or hours,<br />

or seconds, ...)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!