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

...

Info

NOTE: If the source Datetime value does not include a valid input for this function, a missing value is returned.

D s
snippetBasic

D code

derive type:single value:YEAR(MyDate)

...

Output: Returns the four-digit year values from the MyDate column.

D s
snippetSyntax

D code

derive type:single value:YEAR(datetime_col)


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

...