Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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..
Mybe like
Time(Time#(Report_time,'hhmmss'),'hh:mm') as NewTime
May be this in the script:
Time(Time#(Report_time, 'hhmmss'), 'hh:mm:ss') as Report_time
try this
timestamp(alt(TImestamp#([Report_Time],'DD-MM-YYYY hh:mm:ss'),
TImestamp#([Report_Time],'DD-MMM-YY hh.mm.ss.fff TT')),' HH:MM') as date