fish
Nintex Newbie

24-Hour Time Format

Jump to solution

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!

0 Kudos
Reply
4 Replies
leighburke
Nintex Employee
Nintex Employee

Re: 24-Hour Time Format

Jump to solution

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

0 Kudos
Reply
fish
Nintex Newbie

Re: 24-Hour Time Format

Jump to solution

@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

0 Kudos
Reply
leighburke
Nintex Employee
Nintex Employee

Re: 24-Hour Time Format

Jump to solution

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

 

leighburke_0-1614893610711.png

 

View solution in original post

0 Kudos
Reply
fish
Nintex Newbie

Re: 24-Hour Time Format

Jump to solution

Thank you very much for your help!

0 Kudos
Reply