Solved

formatDate function not working

  • 2 September 2022
  • 1 reply
  • 316 views

Badge +4

Hi Forum!

A bit of a head scratcher for me here - I'm trying to use the format date inline function

https://help.nintex.com/en-US/nwc/Content/Designer/Functions/formatDate.htm

I'm doing a build string activity and have tried: 

fn-FormatDate({ItemProperty:EventDate},"MM/DD/YYYY")

and 

fn-FormatDate({ItemProperty:EndDate},"ShortDate")

 

from the docs, both of those should work.

The outputs I receive are 

09/DD/YYYY

and

S11orPDaPe

 

What kind of goobledey gook is that?

I'm not sure what I'm doing wrong here.

 

Best,

Erin

 

 

icon

Best answer by Garrett 2 September 2022, 16:55

View original

1 reply

Userlevel 6
Badge +16

Hi @nderiley 


 


The format should "MM/dd/yyyy"


 


Pls refer this this comprehensive article


Date and Time Format Strings - Quick Reference Guide


https://community.nintex.com/t5/Community-blogs/Date-and-Time-Format-Strings-Quick-Reference-Guide/bc-p/88966/highlight/true 


 


Cheers

Reply