Skip to main content
info
This documentation is for version v2.3 of the product.
For the latest version(v2.7) documentation click here
Version: v2.3 print this page

MultiStringToDate

This node converts a string column to date using the given date/time format

Type

transform

Fields

NameTitleDescription
inputColNamesColumnsColumns
inputColFormatsColumn FormatsInput Column Formats. eg: yyyy-MM-dd yyyy-MM-dd HH:mm:ss
outputColNamesOutput Column NamesOutput Column Names
outputColTypesNew Data TypesNew data types (DATE, TIMESTAMP)

Details

This node converts multiple string columns to date/time.

Examples -------

Format Examples

dd-MM-yy : 31-01-12 dd-MM-yyyy : 31-01-2012 MM-dd-yyyy : 01-31-2012 yyyy-MM-dd : 2012-01-31 yyyy-MM-dd HH:mm:ss : 2012-01-31 23:59:59 yyyy-MM-dd HH:mm:ss.SSS : 2012-01-31 23:59:59.999 yyyy-MM-dd HH:mm:ss.SSSZ : 2012-01-31 23:59:59.999+0100 EEEEE MMMMM yyyy HH:mm:ss.SSSZ : Saturday November 2012 10:45:42.720+0100

Input

iddate_stringdate_string1
IntegerTypeStringTypeStringType
02011-1-1 00:00:00.005/26/2016 01:01:01
12012-1-14 01:00:00.006/22/2017 01:00:00
22013-12-10 02:00:00.001/12/2016 01:01:01

Parameters

IdColumnsColumn FormatsOutput Column NamesNew Data Types
1date_stringyyyy-M-dd HH:mm:ssdate_string_dateDATE
2date_stringyyyy-M-dd HH:mm:ssdate_string_timestampTIMESTAMP
3date_string1MM/dd/yyyy HH:mm:ssdate_string1_dateDATE
4date_string1MM/dd/yyyy HH:mm:ssdate_string1_timestampTIMESTAMP

Output

iddate_stringdate_string1date_string_datedate_string_timestampdate_string1_datedate_string1_timestamp
IntegerTypeStringTypeStringTypeDateTypeTimestampTypeDateTypeTimestampType
02011-1-1 00:00:00.005/26/2016 01:01:012011-01-012011-01-01 00:00:00.02016-05-262016-05-26 01:01:01.0
12012-1-14 01:00:00.006/22/2017 01:00:002012-01-142012-01-14 01:00:00.02017-06-222017-06-22 01:00:00.0
22013-12-10 02:00:00.001/12/2016 01:01:012013-12-102013-12-10 02:00:00.02016-01-122016-01-12 01:01:01.0