Skip to main content

Hello all,

 

I am using the "Format Date to String" to get time in the format I like. Currently, I am using the MMMM DD YYYY HH🇲🇲ss format with the "Current data and time" variable.

 

However, this outputs a 24-hour format instead of a 12-hour format.

Is there a solution to get the time in a 12-hour format instead?

 

I'm sorry if this has been answered elsewhere, I have been unable to find a solution on the forum.

Thank you very much!

@fish Where is the date coming from is it on a start form? or being brought in via a connection?


@leighburke I am using the context variable "Current Date and Time" to get the time the form was submitted and then creating the output "FormSubmittedDate".



 



Hopefully this helps


@fish If you use the functions on the form you will be able to get a 12 hour time date in text. The format date function will allow you choose the format like below.



 





 


Thank you very much for your help!


Reply