Skip to main content
Nintex Community Menu Bar
Solved

24-Hour Time Format

  • March 3, 2021
  • 4 replies
  • 392 views

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:mm: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!

Best answer by leighburke

@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.

 

 

4 replies

Forum|alt.badge.img+14
  • Nintex Employee
  • March 4, 2021

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


  • Author
  • March 4, 2021

@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


Forum|alt.badge.img+14
  • Nintex Employee
  • Answer
  • March 4, 2021

@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.

 

 


  • Author
  • March 8, 2021

Thank you very much for your help!