Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
AJAY533633
Contributor
Contributor

How to convert Date and Time of a Field to DD-MM-YYYY HH:MM:SS

Hello !

 

Can one help me on this format below

 

I have column as 'PublishedTime' and the value as 'Jan 28, 2022 10:40 AM

However i would need it as  "DD-MM-YYYY HH:MM:SS" (In 24 Hours Format )

 

Kindly help on the same

 

Thanks in Advance!

Ajay533633

 

Labels (3)
2 Replies
Frank_Hartmann
Master II
Master II

try this:

date(date#(PublishedTime,'MMM DD, YYYY hh:mm TT'),'DD-MM-YYYY hh:mm:ss') as PublishedTime_New

BrunPierre
Partner - Master
Partner - Master

Timestamp(Timestamp#(PublishedTime,'MMM DD, YYYY hh:mm TT'),'DD-MM-YYYY hh:mm:ss') as " 24HourPublishedTime"