Skip to main content
Nintex Community Menu Bar

Format Date/Time Function Does not give correct result

  • January 16, 2018
  • 4 replies
  • 20 views

I used the format date and time function(format(date, yyyymmdd) to convert 20*personal details removed* to 20180101.

But what I get is 20180001. The month value is incorrect. I have tried various date values and I get same result.

4 replies

VictoriaD
Forum|alt.badge.img+9
  • Novice
  • January 16, 2018

Try yyyyMMdd


  • January 16, 2018

Have you tried changing the style of the control instead?  Select Styles for the control.  Select Format , then select one from Date and Time or select Custom and specify the date format.


VictoriaD
Forum|alt.badge.img+9
  • Novice
  • January 16, 2018

I had previously replied to this thread, not sure why it's missing... but I had suggested trying yyyyMMdd.


Forum|alt.badge.img+9
  • January 19, 2018