Is there a way in a query to convert an integer to time. In otherwords 570 would be the integer and I would like to show 9:30 AM or 840 being the integer and showing 2:00 PM.
You would have to know what number indicates midnight, as in the 24 hour mark. Divide the current integer by the total integer, and use the date format, such as:
tMax={maximum time value}
tCur={current time}
tVal=tCur/tMax
tDis=format(tVal,"hh:mm")
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.