10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

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.

Date Class<br />

getDate()<br />

getSystemDate()<br />

This method returns the date in the form of the date components year, month, day,<br />

hour, minute, seconds.<br />

Syntax<br />

void getDate(int &year,<br />

unsigned int &month,<br />

unsigned int &day,<br />

unsigned int &hour,<br />

unsigned int &min,<br />

unsigned int &sec) const;<br />

Parameters<br />

year<br />

The year component of the date.<br />

month<br />

The month component of the date.<br />

day<br />

The day component of the date.<br />

hour<br />

The hour component of the date.<br />

min<br />

The minutes component of the date.<br />

seconds<br />

The seconds component of the date.<br />

This method returns the system date.<br />

Syntax<br />

static Date getSystemDate(const Environment *envp);<br />

8-54 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!