ReportCreated
ReportCreated
is a text function that returns the date a report was created. Use this function in a text box, text cell, row, or column heading.
Syntax:
<<ReportCreated("format","TimeZoneId")>>
Argument | Description |
---|---|
format | Characters, enclosed in quotation marks, that define the format of the date and time. Format defaults to the user preference for date /time. Valid values are those accepted by Java SimpleDateFormat , "user", or empty ("user").
For a detailed description of date and time formats, see. Table -14. |
TimeZoneId | Defaults to user preferences for the time zone. Valid values are those accepted by Java TimeZone.getTimeZone() , or the server time zone.
For example, for |
Note:
The date and time format is case-sensitive. ReportCreated
returns a value only after the report is saved.
Example:
Insert the report creation date in the body of a report:
<<ReportName()>>
- Created on <<ReportCreated("d-MM-yy")>>