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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
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