Skip to main content
Nintex Community Menu Bar
Solved

DocuGen markup for DateTime field with Insert-Updates

  • May 29, 2018 4:36 PM UTC
  • 6 replies
  • 138 views
  • Translate All

I found <<Today>> in the markup, but that seems to only include the Date.  I rather need the DateTime.  What is the markup for the current DateTime rather than just a Date?

Best answer by Y_Mushell

Hey Timothy Bruce‌,

You can use the <<NOW>> tags for dateTime options.

If you are looking for a specific format you can select the modified tag from the Format dropdown (i.e. <<NOW__h>> will give you 2018-05-29 12:50:00Z )

View original

6 replies

  • Novice
  • Answer
  • May 29, 2018 4:50 PM UTC

Hey Timothy Bruce‌,

You can use the <<NOW>> tags for dateTime options.

If you are looking for a specific format you can select the modified tag from the Format dropdown (i.e. <<NOW__h>> will give you 2018-05-29 12:50:00Z )

Translate

  • Author
  • May 29, 2018 4:56 PM UTC

This was my first try, but for some reason the time portion is truncated.  The field is defined as ``Date/Time'', and the updater is defined as <<NOW>>, but only the date portion is coming through.  Very strange.  So I thought I was Doing It Wrong, you see?

Translate

  • Author
  • May 29, 2018 4:58 PM UTC

Translate

  • Novice
  • May 29, 2018 5:07 PM UTC

Strange- looks like it got the hour- though I don't know if that's the correct hour.

Does it help if you specify the format using <<NOW__h>> or <<NOW__g>>?

Translate

  • Author
  • May 29, 2018 5:09 PM UTC

Nevermind.  I am Doing It Wrong.  D'OH!

Translate

  • Novice
  • May 29, 2018 5:14 PM UTC

Great!, glad you got it working!

Translate