Skip to main content
Nintex Community Menu Bar
Solved

Merge fields for Month and Year

  • March 12, 2022
  • 3 replies
  • 127 views

In regard to Nintex DocGen -

 

Can you tell me what the merge field would be for the following date fields?

 

[month]

 

[year]

 

This would not necessarily be related to any object, but the month & date in real time.

Best answer by natsu_docs

If you go to the main object drop down in your field tagger, you'll see an option for "Dates". From there, you can select either Now(date/time), Today (just dates) or Yesterday(just dates as well).

When you select into any of those options, you'll then be given another drop down to select the format of the date. So in the case of date and year, you'll need the following tags:

Month: <<Today__w>> (ex: March)
Year: <<Today__ah>> (ex: 2022)

There are many other types of format so you can pick and choose whichever one best suits for your template. Hope this helps.

3 replies

MillaZ
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • March 14, 2022

@natsu_docs Could you please assist here?


natsu_docs
Nintex Employee
Forum|alt.badge.img+8
  • Nintex Employee
  • Answer
  • March 14, 2022
If you go to the main object drop down in your field tagger, you'll see an option for "Dates". From there, you can select either Now(date/time), Today (just dates) or Yesterday(just dates as well).

When you select into any of those options, you'll then be given another drop down to select the format of the date. So in the case of date and year, you'll need the following tags:

Month: <<Today__w>> (ex: March)
Year: <<Today__ah>> (ex: 2022)

There are many other types of format so you can pick and choose whichever one best suits for your template. Hope this helps.

  • Author
  • March 14, 2022

Perfect, thank you