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

DateToString

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

Type

transform

Fields

NameTitleDescription
inputColNameInput Column NameInput Column Name
outputColFormatOutput Column FormatOutput Column Format
outputColNameOutput Column NameOutput Column Name

Details

This node converts date/time column to string type with given format.

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
IntegerTypeDateType
02011-01-01
12012-01-14
22013-12-10

Parameters1

NameValue
Input Column Namedate_string1
Output Column FormatMM/dd/yyyy
Output Column Namedate_string

Output1

iddatedate_string
IntegerTypeDateTypeStringType
02011-01-0101/01/2011
12012-01-1401/14/2012
22013-12-1012/10/2013