Now
The Now function inserts the current date and/or time into the document. It can be formatted in the same way as for FormatDate.
«Now("d MMMM, yyyy")»
yields ‘4 November, 2010’
«Now("MMMM o yyyy")»
yields ‘November 4th 2010’
«Now("yyyy/MM/dd HH:mm:ss.fff")»
yields ‘2011/04/14 17:05:23.010’ which is exactly the same as «Now()»
A twelve-hour time with AM or PM is achieved by
«Now("yyyy/MM/dd hh:mm:ss.fff tt")»
which yields the above time as ‘2011/04/14 05:05:23.010 PM’.
«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 and time 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.
Today
The Today function is exactly the same as the Now function, except that Today does not include the time of day.
On the 15th of April 2011, «Today()» will yield the value ‘2011-04-15’.