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

...

Excerpt

Derives the full name from a Datetime value of the corresponding month as a String. Source value can be a reference to a column containing Datetime values or values or a literal.

Info

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

D s lang vs sql

D s
snippetBasic

MONTHNAME
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
monthname(MyDate)

monthname(MyDate)

Output: Generates a column of values containing Returns the month name from the the MyDate column.

D s
snippetSyntax

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

monthname(datetime_col)


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

D s lang notes

datetime_col

...

  • Missing values for this function in the source data result in missing values values in the output.
  • Multiple columns and wildcards are not supported.

D s
snippetusage

 

Required?Data TypeExample Value
YesDatetimemyDate

...

Include Page
EXAMPLE - Date Functions
EXAMPLE - Date Functions

D s also
labeldate