On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

Using date/time expression in a document name or version name

averma
edited 2013 15 in DevShare Downloads #1
You can include date-time format in a file name by using keywords. For example, to generate a Sales Report using the document generation date as a part of the document name, use the following expression in the document name while scheduling the report:<br />
<br />
Sales to date {mm-dd-yy}<br />
<br />
The report if scheduled to run on Feburary 28, 2011 would generate the following document:<br />
Sales to date 02-28-11<br />
You can either use the predefined date and time formats or create your own format. Here are some of the predefined date-time formats keywords that can be used:<br />
<br />
{Long Date} e.g. Monday, February 28, 2011<br />
{Medium Time} e.g. 8:45 PM<br />
You can review these keywords and add your own custom formats to the localemap.xml for Information Console and Management Console located under the folders:[iServerHome]\servletcontainer\iportal\WEB-INF<br />
[iServer Home]\servletcontainer\mgmtconsole\WEB-INF<br />
If you update localemap.xml, you must restart iServer service for the changes to take effect.