Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

TIME - AWS Glue DataBrew

TIME

Creates a new column containing the time value, from the source columns or values provided.

Parameters
  • dateTimeFormat – Optional. A format string for the date, as it is to appear in the new column. If this string isn't specified, the default format is yyyy-mm-dd HH:MM:SS.

  • dateTimeParameters – A JSON-encoded string representing the components of the date and time:

    • year

    • value

    • month

    • day

    • hour

    • second

    Each component must specify one of the following:

    • sourceColumn – The name of an existing column.

    • value – A character string to evaluate.

  • targetColumn – A name for the newly created column.

Example

{ "RecipeAction": { "Operation": "TIME", "Parameters": { "dateTimeFormat": "HH:MM:SS", "dateTimeParameters": "{\"year\":{},\"month\":{},\"day\":{},\"hour\":{\"sourceColumn\":\"rand_hour\"},\"minute\":{\"sourceColumn\":\"rand_minute\"},\"second\":{\"sourceColumn\":\"rand_second\"}}", "targetColumn": "TIME Column 1" } } }
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.