IBM Cognos User Manual page 338

Version 10.1.1
Table of Contents

Advertisement

Date Codes
To specify a date format that exactly matches that used in your source data, on the
Time tab of the Column property sheet, choose one of the following Date Input
Format settings.
To construct dates consisting of years, quarters, months, or days, use the following
codes.
324
IBM Cognos Transformer Version 10.1.1: User Guide
Date setting
From Windows Control Panel As defined in Regional Settings. The value is taken from
Date input format setting
YMD
DMY
MDY
YM
MY
Y
Date code
YY
YYYY
Q
MM
MMM
MMMM
DD
DDDD
/, -, or a space character
Any quoted string
Description
the Short Date Style box on the Date tab, or its equivalent
entry on your version of the Windows operating system.
You can change this setting on the General tab of the
Preferences property sheet, accessible from the File menu.
When new columns are created using this setting, the Date
Input Format shown on the Column property sheet
mirrors the Windows Control Panel setting.
Description
Year, Month, Day; for example, 070413 or 2007-Apr-13
Day, Month, Year; for example, 130407 or 13 Apr 2007
Month, Day, Year; for example, 041307 or Apr 13, 2007
Year, Month: for example, 200704 or 2007-Apr. This setting
is processed as if the day component were 01.
Month, Year; for example, 042007.
This setting is processed as if the day component were 01.
Year; for example, 2007.
This setting is processed as if the month and day
components were 01.
Description
A 2-digit year; for example, 07
A 4-digit year; for example, 2007
A 1-digit quarter; for example, 1
A 2-digit month; for example, 01
The abbreviated month name; for example, Jan
The full month name; for example, January
A 2-digit day; for example, 01
A day of the week; for example, Sunday
Alternate separator; for example, 2007/01/01 or 2007-01-01
The quoted string; for example, "(" shows an open
parenthesis

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents