Skip to main content
Nintex Community Menu Bar

The calendar control and the 24 hour clock

  • January 16, 2015
  • 0 replies
  • 8 views

Forum|alt.badge.img+9


 

Some time ago I came upon an issue in which we wanted to have the time on a form surfaced as a 24 hour clock. It was not immediately apparent how to do this but after letting the hamster sprint a few cycles on the wheel we came up with a nice and simple way to implement the idea.

The first thing to do is drop a calendar control on the form and then open up the Picker Type context broswer like so:

16401i9270351FB80E49A2.png

 

 

 

You'll want to select a format such as hh:mm:ss.

Now we need to open up the styles context browser thusly:

11818iEE3E644A54F151A1.png

 

 

 

Notice the language/region option. We need to set this to a language/region that uses a 24 hour clock, in this particular instance I picked French because "L'État, c'est moi". Also, set it to Long Time.

Now when the view or form is run, the calendar control will surface times in a 24 hour format.

16962i6023B7381B49D090.png