Siebel Reports Administration Guide > Library Reference > sscustom Library >

Display of Date Information


NOTE:  The information described in this section concerning dates is for legacy Siebel reports. In version 7 reports, all newly created date fields must use Formatted date fields from Application and ssDateTimeControl from sscustom. This new Actuate control has verity of format options to pick including Short-Date, Long-Date and Medium-Date (same for time).

Date information is more complicated than revenue data. As with the currency information, each Report Object field is mapped to two variables in the data row:

To display the full month name, date, and year (November 24, 2001), use ssDate.

The ssDate control forces an explicit conversion of the string date expression using known settings. The string is then converted back into string format and displayed using the format from the Format property. If the string is an empty string, the control is detached from the frame so that no data is shown.

Five predefined date formats are used within the standard reports. ssDate, ssDateLongDate, and ssDateShortDate all use date settings from the regional locale settings on the machine. ssDateHNNAP and ssDateMMMMDDYYYY use hard-coded format strings to display the information in a specialized format. The date library components are the following:

You can modify the date formats in the sscustom library by changing the Format property of the date control. New date formats can be added by subclassing from ssDate. To change the Short Date or Long Date displays, change the regional settings on the machine.


 Siebel Reports Administration Guide, Version 7.5, Rev B 
 Published: 18 April 2003