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.

Constructing a Timestamp<br />

> The default constructor initializes a Timestamp <strong>with</strong> the current<br />

<strong>time</strong>.<br />

> Two static functions can be used to create a Timestamp from a<br />

<strong>time</strong>_t, or from a UTC <strong>time</strong>:<br />

> Timestamp fromEpochTime(<strong>time</strong>_t <strong>time</strong>)<br />

> Timestamp fromUtcTime(UtcTimeVal val)

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

Saved successfully!

Ooh no, something went wrong!