Skip to main content
Nintex Community Menu Bar
Answer

format Date for columns inserted into Word Template for 'Generate Document' action

  • August 6, 2019
  • 3 replies
  • 20 views

Forum|alt.badge.img+8

In Nintex Workflow for Office 365, in action 'Generate Document' I want to insert date columns into my Word document template.  I insert the list column (which is already configured to show 'Date' rather than 'Date and time.') and when the PDF document is generated, it displays the date & time (12:00:00 AM for time).  How do I make it display Date only?

 

I tried some 'fn-formateDate' functions that were suggested but those did not translate anything, the words displayed instead of altering the date.

Best answer by SimonMuntz

Hi,
This post appears to be a duplicate of the one I already provided a solution for here : https://community.nintex.com/t5/Nintex-for-Office-365/Date-time-field-in-Word-document/m-p/99732#M11653

3 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • Answer
  • August 15, 2019
Hi,
This post appears to be a duplicate of the one I already provided a solution for here : https://community.nintex.com/t5/Nintex-for-Office-365/Date-time-field-in-Word-document/m-p/99732#M11653

Forum|alt.badge.img+8
  • Author
  • Rookie
  • August 15, 2019
Wow, I must have forgotten about this one. Should I delete it?

Forum|alt.badge.img+8
  • Author
  • Rookie
  • December 27, 2019
Thanks. That solution is to use a Regular Expression action, to replace the time with blank. Use this in the Pattern field.

[^d*/d{2}/d{4}].*