Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Variables
  6. Dates
  7. Functions

Transformation Language Reference

Transformation Language Reference

CREATE_TIMESTAMP_TZ

CREATE_TIMESTAMP_TZ

Construct a Timestamp with Time Zone data type from the timestamp and time zone values.
The output port must be timestampWithTZ for CREATE_TIMESTAMP_TZ expressions.

Syntax

CREATE_TIMESTAMP_TZ (timestamp_value, timezone_value)
The following table describes the arguments for this command:
Argument
Required/
Optional
Description
timestamp_value
Required
Date/Time datatype. You can enter any valid transformation expression.
timezone_value
Required
Must be a string data type. The string must be a character string. Passes the values you want to create for time zone. You can enter any valid transformation expression as defined in the time zone file present in the install location.

Return Value

Returns a timestamp with time zone data type.
NULL if the input is a null value.
Example
INPUT VALUE
RETURN VALUE
1947-08-05 10:45:00.221111000 AM, 'America/Los_Angeles'
‘1947-08-05 10:45:00.221111000 AM America/Los_Angeles'
1947-08-05 10:45:00.221111000 AM, '-08:00'
‘1947-08-05 10:45:00.221111000 AM -08:00'

0 COMMENTS

We’d like to hear from you!