FORMAT_DATE - Amazon Glue DataBrew
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

FORMAT_DATE

Returns a column in which a date string is converted into a formatted value.

Parameters
  • sourceColumn – The name of an existing column.

  • targetDateFormat – One of the following date formats:

    • mm/dd/yyyy

    • mm-dd-yyyy

    • dd month yyyy

    • month yyyy

    • dd month

Example

{ "RecipeAction": { "Operation": "FORMAT_DATE", "Parameters": { "sourceColumn": "birth_date", "targetDateFormat": "mm-dd-yyyy" } } }