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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to change Date and Time ?

How to change the date & time format when given at the same time  like    (19-07-2017  03:31:50).

Any one can you please help to change these kind of formats.

11 Replies
Kushal_Chawda

Use floor function to convert it into Date form, floor will also remove repeating of dates in listbox

floor(YourDateField)


Make sure that your date is in Number format, else you need to use below expression

floor(Date#(YourDateField,'DD-MM-YYYY hh:mm:ss'))

Anonymous
Not applicable
Author

Hi Mahendra,


Try the following Expression:


Date( Left ( Date# ( YourdateField ) ,5 ) , 'DD-MM-YYYY' )   AS   Date


Regards

Vinod Gadiputi