Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

타임스탬프 시간대 변경

항목값
화면 이름Change timestamp time zone
식별자changeTimestampTimeZoneV1
지원 실행 방식Batch, Faster
범주날짜와 시간 (Datetime)
반환 자료형Timestamp

타임스탬프의 시간대를 변경합니다.

입력 인자

이름지정 여부자료형의미와 조건
Output time zone필수TimeZone대상 시간대입니다.
Timestamp필수Expression<Timestamp>타임스탬프 열입니다.
Input time zone선택Expression<String>현재 타임스탬프가 기록된 시간대입니다.

입출력 예시

예시 1: 기본 동작

인자 값:

  • Output time zone: America/Chicago
  • Timestamp: 2020-04-28T05:09:00Z
  • Input time zone: US/Eastern

출력: 2020-04-28T04:09:00Z

예시 2: 기본 동작

인자 값:

  • Output time zone: Australia/Sydney
  • Timestamp: timestamp
  • Input time zone: time_zone
timestamptime_zone출력
2020-04-28T10:09:00ZUS/Eastern2020-04-29T00:09:00Z
2020-04-28T10:09:00ZUTC2020-04-28T20:09:00Z

예시 3: null 처리

인자 값:

  • Output time zone: US/Eastern
  • Timestamp: 2020-04-28T10:09:00Z
  • Input time zone: null

출력: 2020-04-28T06:09:00Z

예시 4: null 처리

인자 값:

  • Output time zone: Australia/Sydney
  • Timestamp: timestamp
  • Input time zone: time_zone
timestamptime_zone출력
nullUS/Easternnull
nullnullnull
2020-04-28T10:09:00Znull2020-04-28T20:09:00Z

예시 5: 경계 조건

인자 값:

  • Output time zone: UTC
  • Timestamp: 2025-11-02T01:01:14Z
  • Input time zone: America/Halifax

출력: 2025-11-02T04:01:14Z