Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
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