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

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
cancel
Showing results for 
Search instead for 
Did you mean: 
drohm002
Creator II
Creator II

convert a text field of numbers to a time

Hello, in the example below, how do i convert ACQUISITIONTIME of 163821.556552 to 16:38:21?

drohm002_0-1770928423679.png

i already tried Time(Time#(ACQUISITIONTIME, 'HHMMSS'), 'HH:MM:SS') as FormattedTime

 

 

Labels (1)
1 Solution

Accepted Solutions
robert_mika
MVP
MVP

Try

Time(Time#(Num(Floor(163821.556552), '000000'), 'HHmmss'), 'HH:mm:ss')

View solution in original post

2 Replies
robert_mika
MVP
MVP

Try

Time(Time#(Num(Floor(163821.556552), '000000'), 'HHmmss'), 'HH:mm:ss')

georgedevries
Contributor
Contributor

Or you can try this:

Time(Timestamp#(Round(ACQUISITIONTIME),'hhmmss'),'hh:mm:ss')