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.

Timestamp Class<br />

toText()<br />

Return string representation for the timestamp in the format specified. If<br />

nlsParam is specified, this will determine the nls parameters to be used for the<br />

conversion. If nlsParam is not specified, the nls parameters are picked up from the<br />

environment associated with the instance, if any.<br />

Syntax<br />

string toText(const string &fmt,<br />

unsigned int fsprec,<br />

const string &nlsParam = "") const;<br />

Parameters<br />

fmt<br />

Format string.<br />

fsprec<br />

Precision required for the fractional seconds component.<br />

nlsParam<br />

Current support only for English, American.<br />

See Also:<br />

■ Format Models in <strong>Oracle</strong>9i SQL Reference<br />

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

■ Table A-1 in <strong>Oracle</strong>9i Database Globalization Support <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!