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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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..

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Mybe like

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

View solution in original post

3 Replies
swuehl
Champion III
Champion III

Mybe like

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

sunny_talwar
MVP
MVP

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