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: 
manisha_uit
Creator
Creator

Time Formatting

Hi All,

I have a field ActualTime which is in "hh:mm:ss TT" format. In the script, I am changing it to "hh:mm TT" format using

Time(field, 'hh:mm TT')

Now, I am trying to plot ActualTime required to finish the task. The problem is i am unable to format the Y-axis in "hh:mm TT" format. However, when I hover over my mouse, i get the correct format "hh:mm TT"

Please refer image for more details

Thanks,

Manisha

1 Solution

Accepted Solutions
manisha_uit
Creator
Creator
Author

Got the solution finally. I changed the TimeFormat variable to the desired format and it worked!

View solution in original post

4 Replies
giakoum
Partner - Master II
Partner - Master II

Time is a formatting function. It does not change the feild type. Try using Time# instead

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Go to Document Properties | Number, and set the time format for the field here.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
manisha_uit
Creator
Creator
Author

Hi Jonathan, loannis

I tried both the options suggested by you but the result is not as expected

Thanks,

Manisha

manisha_uit
Creator
Creator
Author

Got the solution finally. I changed the TimeFormat variable to the desired format and it worked!