Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
iswarya
Partner - Creator
Partner - Creator

Date conversion in script

convert this date 5-17-2019 12:00:00 AM to dd-mm-yyyy  format

4 Replies
Edvin
Creator
Creator

Try this:
date#(FieldName,'DD-MM-YYYY')

AjithramT
Contributor II
Contributor II

hi,

try like this

date(date#('5-17-2019 12:00:00','MM-DD-YYYY hh:mm:ss'),'DD-MM-YYYY')

iswarya
Partner - Creator
Partner - Creator
Author

But i want to convert all the dates in my StartDate field. It's not working

hamzabob1
Partner - Contributor III
Partner - Contributor III

Try this

Date(trim(DateField),'DD/MM/YYYY') as Date.