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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

Time Format

Hi,

We have pulled the report_time field directly from DB and it shows as below,

Report_time = 100000,110000,120000 (Actually it means 10,11,12)

Here i need to convert this into HH:MM format.Please suggest on this.

Thanks..

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Mybe like

Time(Time#(Report_time,'hhmmss'),'hh:mm') as NewTime

View solution in original post

3 Replies
swuehl
MVP
MVP

Mybe like

Time(Time#(Report_time,'hhmmss'),'hh:mm') as NewTime

sunny_talwar

May be this in the script:

Time(Time#(Report_time, 'hhmmss'), 'hh:mm:ss') as Report_time

Chanty4u
MVP
MVP

try this

timestamp(alt(TImestamp#([Report_Time],'DD-MM-YYYY hh:mm:ss'),

TImestamp#([Report_Timehour.PNG],'DD-MMM-YY hh.mm.ss.fff TT')),' HH:MM') as date