Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The CURRENT-DATETIME directive was introduced in CDAP 6.4.0.

The CURRENT-DATETIME directive generates the current datetime using the given zone or UTC (by default).

Syntax

current-datetime :column 'timezone'

Usage Notes

The CURRENT-DATETIME directive generates the current datetime using the given zone or UTC (by default). Zone can be region based string like America/Los_Angeles, Europe/Paris, simple offsets like +08:00, or prefix and offset like UTC+01:00, GMT+08:00, UT+04:00.

Examples

current-datetime :col1 'UTC-08:00'

current-datetime :col2 'America/Los_Angeles'

  • No labels