Skip to main content
Nintex Community Menu Bar

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

  • February 27, 2019
  • 1 reply
  • 7 views

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
  • February 27, 2019

enclose GetDateNow variable with start/end string tokens

 

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