12 hrs format of time instead of 24 Hrs

Hi Outsystems,

How to change the date format in a expression? Instead of 24 hrs, it must be 12hrs format  .

Frinzgerald Murao
Hi Frinzgerald,
You can use Format_DateTime() from Text extension:

and the tricky part is - you need to use this string to define the format:

hh (lowercase) means 0-12 format
HH (uppercase) means 0-24 format

tt - means AM/PM
Let me know if that helps :)