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

...

D lang syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value: parsedate(strDate, ['yyyy-MM-dd','yyyy-MM','yyyy/MM','yyyy-MM-dd') as: 'convertedDate'

parsedate(strDate, ['yyyy-MM-dd','yyyy-MM','yyyy/MM','yyyy-MM-dd'])

Output: Returns a value structured in  yyyy-MM-dd HH:mm:ss  format if the input value in strDate matches any of default formats, which are the following:

...

D lang syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value: parsedate(strDate, ['yyyy-MM-dd','yyyy-MM','yyyy/MM','yyyy-MM-dd') as: 'convertedDate'

parsedate(strDate, ['yyyy-MM','yyyy/MM',])

Output: Returns a value structured in  yyyy-MM-dd HH:mm:ss  format if the input value in strDate matches any of the listed formats for dates.

...