Solved

DocuGen markup for DateTime field with Insert-Updates


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?

icon

Best answer by Y_Mushell 29 May 2018, 18:50

View original

6 replies

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 )

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?

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>>?

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

Great!, glad you got it working!

Reply