Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Converting date from one format to another format.

Hi Experts,
I have date format: 01/09/2013 like this and it should be changed to like this 01-Sept-2013.
How can i achieve this?
Please provide me solution with Scenario.
With Regards,
Viswanath.Ch.
Labels (2)
6 Replies
Anonymous
Not applicable
Author

Hi,
Is your input source data type "Date" or "String". If former, you can just change date format from "dd/MM/yyyy" to "dd-MMM-yyyy" in tMap.
See my screenshot
Best regards
Sabrina
0683p000009MCkv.png 0683p000009MCl0.png
Anonymous
Not applicable
Author

Hi Sabrina,
Thanks for reply.
With Regards,
Viswanath.Ch.
Anonymous
Not applicable
Author

Hi,
I have the same (to somw extent) situation, but:
tFileInputXML (date in YYYY-MM-DD format) -> tMap -> tFileOutputPositional (must be in DD-MM-YY)
Could you suggest the best way to do so?
If I just use the method described above the transformation becomes quite wierd: 2016-08-22  -> 361-12-16
TRF
Champion II
Champion II

@akulkos, use the date pattern "yyyy-MM-dd" instead of "YYYY-MM-DD" (same for output, "dd-MM-yyyy").
Should work.
TRF
Anonymous
Not applicable
Author

Hello @akulkos,
you can also used anther component named 'tConvertType'.
Regards,
Jerry
0683p000009MCl5.png
Anonymous
Not applicable
Author

What if my input & output dates are strings?

I want to convert from "2019-01-10T06:35:00-04:00" to "20190110063500"(YYYYMMDDHHMMSS)