Use Google to find help fast. For example, search on "xpressdox choosefromlist".

The Today Function

The Today Function

Today

The Today function inserts the current date into the document. It is the same as the Now function, except that Today does not include the time of day. It can be formatted in the same way as for FormatDate.

<<Today("d MMMM, yyyy")>>

yields ‘4 November, 2010’

<<Today("MMMM o yyyy")>>

yields ‘November 4th 2010’

<<Now("d MMMM, yyyy", "af")>>

On 1st January 2008 this would yield ‘1 Januarie, 2008’.

Note that the value inserted into the document is a normal string value and is the date that the template was run in XpressDox. In this regard it differs from the Word date fillpoint which inserts the date on which the document is printed or opened, regardless of when it is created.

Leave a Reply