Formatting time win AM/PM

Home Forum General Formatting time win AM/PM

Tagged: , , , ,

This topic contains 2 replies, has 2 voices, and was last updated by  pmeidinger 6 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #9829


    The Util – Current Time returns the time in 24-hour format, but I’d like 12-hour with AM/PM. Is there an easy way to do that, other than checking if the hours is less than 13 then append AM, else append PM?


    Karlo Huezo


    The UTIL current time strictly returns 24-hour time. An easy way to convert this would be to use a Time Input field as your target field. A time input field is configured for 24 hour by default, but you can uncheck that option for 12 hour time. If you are using a “Set Field” command, have it set your Time Input field to “Util – Current time”. So long as the Time Input is configured for 12 hour, it will properly convert it to display AM and PM for you.

    I hope this answers your questions.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.