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: 
Not applicable

Time format

Hi QV team,

This is actual script.

Timeformat:

LOAD * INLINE [

    time_minuts

    0600

    0610

    0630

    0640

    0645

    0650

    0655

];

I require above time format like this

06:00

06:10

06:30

06:40

06:45

06:50

06:55

1 Solution

Accepted Solutions
PrashantSangle

Hi,

use

time(time#(time_minuts,'hhmm'),'hh:mm')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

4 Replies
PrashantSangle

Hi,

use

time(time#(time_minuts,'hhmm'),'hh:mm')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
amit_saini
Master III
Master III

Hi,

Like this???

Thanks,

AS

sagarkharpude
Creator III
Creator III

try this

Timeformat:

LOAD * INLINE [

    time_minuts

    0600

    0610

    0630

    0640

    0645

    0650

    0655

];

LOAD *,

Left(time_minuts,2)&':'&right(time_minuts,2) as times

Resident Timeformat;

DROP Table Timeformat;

Not applicable
Author

Hi Max,

    Thank you for gave correct answer.