Skip to main content Skip to complementary content

makeDateTime

Creates a datetime from a date and a time.

Information noteNote: This feature is only available in Talend Cloud Pipeline Designer and Talend Data Mapper.

The time zone is defined based on the arguments. If a time zone is provided, that time zone is used, otherwise the datetime is returned without a time zone.

Arguments

  1. Input date as a string, date, or datetime data type.
  2. Input time as a string, time, or datetime data type.

Examples

Expression Result
$date = toDate("2021-01-02"), makeDateTime($date, "13:45-01:00") 2021-01-02T13:45-01:00

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!