Adding time stamps to file names in email attachments
In email messages, when you attach Cognos Business Intelligence reports, the report names can include time stamps if administrators set the advanced property emf.dls.attachment.timestamp.enabled. Optionally, the format of the time stamp can be specified by setting the advanced property emf.dls.attachment.timestamp.format.
About this task
The default format for the timestamp is: yyyy-MM-dd, where yyyy is the four-digit year, MM is the two-digit month, and dd is the two-digit day. For example, if you attach the report Annual Result in a message, the email that is sent has the following attachment: Annual Result - 2014.07.15.pdf.
Optionally, you can change the time stamp format by setting the advanced property emf.dls.attachment.timestamp.format. For example, the time stamp 15.07.2014 has the format dd.MM.yyyy and the time stamp 140704120856-0700 has the format yyMMddHHmmssZ. For more information on SimpleDateFormat, see the Oracle website.