Defining a custom date-and-time format
You can define a custom date-and-time format using special symbols to construct a format pattern. Use custom date formatting only for reports that are viewed in a single locale. Custom formats always display dates in the format you set. This format can be inappropriate for other locales. For example, if you use the format MM-dd-yy, the date January 10, 2006, always appears as 01-10-06, regardless of the locale in which the report is viewed. For locales in which dates customarily appear in day-month-year format, the date 01-10-06 is interpreted as October 1, 2006.
Table 2-3 lists the specials symbols used to define custom date-and-time formats.
Table 2-4 shows examples of custom formats and their effects on a date that is stored as April 15, 2006 12:15:30 PM.

Additional Links:

© Copyright OpenText Corp. All rights reserved. Privacy Policy | Cookie Policy

BIRT iHub 2