Skip to main content
Nintex Community Menu Bar

fn-FormatDate(GetDateNow,"YYYY") didn't works

  • Feb 27, 2019 1:45 PM UTC
  • 1 reply
  • 10 views
  • Translate All

Forum|alt.badge.img+7

I want to get current year date through expression

fn-FormatDate(GetDateNow,"YYYY")

but didn't work.

I use the object "Set variable" and the variable is a string.

 

1 reply

Forum|alt.badge.img+14
  • Scholar
  • Feb 27, 2019 2:34 PM UTC

enclose GetDateNow variable with start/end string tokens

 

fn-FormatDate({TextStart}GetDateNow{TextEnd},"YYYY")
Translate