This expression gives today’s date and time. No parameters are necessary. It must be inserted using the expression builder and cannot be typed directly into the comment editor.
A typical use of this expression would be to insert the current date into a comment. For example, you could create the comment:
“The cholesterol result was performed on today, and was within the normal range”.
When evaluated in a report, the expression would be replaced by today’s date and time, for example:
“The cholesterol result was performed on Tue Jun 03 10:18:37 EST 2008, and was within the normal range”
To format the date and time, you can combine the today expression with the “in format” expression. For example, the comment:
“The cholesterol result was performed on today in format “dd MMM yy”, and was within the normal range”
would evaluate as:
“The cholesterol result was performed on 03 Jun 08, and was within the normal range”
See also: in format