Skip to main content
Nintex Community Menu Bar
Solved

formatDate function not working

  • September 2, 2022
  • 1 reply
  • 464 views

Forum|alt.badge.img+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

 

 

Best answer by Garrett

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

1 reply

Garrett
Forum|alt.badge.img+16
  • Scout
  • Answer
  • September 2, 2022

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