This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dev:sql:orafunctions:new_time [2010/07/06 18:39] tdo |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{page>:top_add&nofooter&noeditbtn}} | ||
| - | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
| - | ====== Omnidex SQL Function: INSTR ====== | ||
| - | {{page>:sql_bar&nofooter&noeditbtn}} | ||
| - | ===== Description ===== | ||
| - | Returns the date and time adjusted to time_zone2. The function is helpful when trying to show a time stored in the a standard like Greenish Mean Time (GMT) to a local time. | ||
| - | The return datatype is ORACLE DATETIME. | ||
| - | |||
| - | This function is only available when the CREATE ENVIRONMENT statement contains the SQL_SYNTAX ORACLE clause or the SET SQL_SYNTAX ORACLE setting is set programmatically. | ||
| - | |||
| - | ===== Syntax ===== | ||
| - | NEW_TIME(datetime, from_timezone, to_timezone) | ||
| - | |||
| - | ===== Discussion ===== | ||
| - | ==== target_string ==== | ||
| - | //datetime// is a Oracle datetime column or string. | ||
| - | //from_timezone// is a string literal representing an Oracle timezone. | ||
| - | |||
| - | //from_timezone// is a string literal representing an Oracle timezone. | ||
| - | |||
| - | {{page>:bottom_add&nofooter&noeditbtn}} | ||