Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

  • Source value can be a reference to a column containing literal or Datetime values.
  • If the source Datetime value does not include a valid input for this function, a missing value is returned.

D s
snippetBasic

HOUR
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
hour(MyDate)

hour(MyDate)

Output: Generates a column of values that retrieve the two-digit hour values from the MyDate column.

D s
snippetSyntax

HOUR
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single type value:
hour(datetime_col)

hour(datetime_col)


ArgumentRequired?Data TypeDescription
datetime_colYdatetimeName of column whose hour values are to be computed

...