Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Dharanidharan_Qlik
Partner - Contributor III
Partner - Contributor III

Convert 231045 to 11:10:45 PM Time Format in Qlik Sense

Hi, 

I get a time field containing values like 231045  Need to convert this to 11:10:45 PM.

Could someone can help. Thanks.

 

Few examples:

112345 to 11:23:45 AM

162232 to 04:22:32 PM

1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

Considering your preference for a 12-hour format, an adjustment to @Clement15 's Time(Time#(Timetemp, 'hhmmss'), 'hh:mm:ss TT') as Time

View solution in original post

2 Replies
Clement15
Creator III
Creator III

Hello, you can use this formula.

time(Time#(timetemp,'hhmmss')) as Time

Here is an example and the result :

Clement15_0-1710230803276.png

Clement15_1-1710230843193.png

 

BrunPierre
Partner - Master
Partner - Master

Considering your preference for a 12-hour format, an adjustment to @Clement15 's Time(Time#(Timetemp, 'hhmmss'), 'hh:mm:ss TT') as Time