Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

string to time(hh:mm)

Hi-I have a string field which looks like 20120927-00:00:01.Can you please let me know how can I extract only HH:MM.Thanks-Pooja

1 Solution

Accepted Solutions
Gysbert_Wassenaar

I think this should work: time(time#('20120927-00:00:01','yyyyMMdd-hh:mm:ss'),'hh:mm')


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

I think this should work: time(time#('20120927-00:00:01','yyyyMMdd-hh:mm:ss'),'hh:mm')


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks a lot for your quick response.