Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to change date format

Hello

I have a table in which date is in the format YYYYMMDD.

How can I change it to the form DD/MM/YYYY

Warehouse_Order:

CREATED_DATEasCreated_Date

,

resident (some table which gets data from an extractor from SAP)

Please help.

Arjun Jain

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

And if that doesn't produce the results you want, try

:

date(date#(CREATED_DATE, 'YYYYMMDD'),'DD/MM/YYYY') as Created_Date

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Try with

Load

...

date(myDate, 'DD/MM/YYYY') as newDate

....

let me know

Gysbert_Wassenaar

date(date#(Created_Date,'YYYYMMDD'),'DD/MM/YYYY') as Created_Date


talk is cheap, supply exceeds demand
Peter_Cammaert
Partner - Champion III
Partner - Champion III

And if that doesn't produce the results you want, try

:

date(date#(CREATED_DATE, 'YYYYMMDD'),'DD/MM/YYYY') as Created_Date