ReportModified is a text function that returns the date the current report was last modified. You can use this function in a text box, text cell, or a row or column heading. The function syntax is:
<<ReportModified("format")>>
<<ReportModified("format”,”TimeZoneId”)>>
where“format”(optional) is a list of characters enclosed in quotes that define the format of the date and time. For a detailed description of date and time formats, see Table 40, Date and Time Format Characters . “Format” defaults to user preference for date /time. Valid values are those accepted by JavaSimpleDateFormat, or “user” or empty (“user”).
user refers to the default date specified for preferences in EPM Workspace.
TimeZoneId”(optiona) defaults to user preferences for timezone. Valid values are those accepted by java TimeZone.getTimeZone(), or “user” or “server”. For example, for TimeZone.getTimeZone(), to specify the east coast, you would type: "America/New_York".
user is the default date specified in EPM Workspace preferences.
server is the server time zone.
Note: | When using the “TimeZoneId” parameter, you must enclose the “format” parameter within quotes. This applies only when “TimeZoneId” is indicated. Existing reports prior to the “TimeZoneId” enhancement do not need to be updated. |
The date and time format is case-sensitive. ReportModified returns a value only after the report is saved. |
The following example inserts the date Jan 19, 2002. That is the date the report was last modified:
Report Modified: <<ReportModified("MMM dd, yyyy")>>