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 />

toZone()<br />

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

Parameters<br />

fmt<br />

The format string.<br />

nlsParam<br />

A string specifying the nls parameters to be used.<br />

This method returns Date value converted from one time zone to another.<br />

Valid values are:<br />

Zone code Value<br />

AST, ADT Atlantic Standard or Daylight Time<br />

BST, BDT Bering Standard or Daylight Time<br />

CST, CDT Central Standard or Daylight Time<br />

EST, EDT Eastern Standard or Daylight Time<br />

GMT Greenwich Mean Time<br />

HST, HDT Alaska-Hawaii Standard Time or Daylight Time<br />

MST, MDT Mountain Standard or Daylight Time<br />

NST Newfoundland Standard Time<br />

PST, PDT Pacific Standard or Daylight Time<br />

YST, YDT Yukon Standard or Daylight Time<br />

Syntax<br />

Date toZone(const string &zone1,<br />

const string &zone2) const;<br />

8-60 <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!