Technical data

Setting System Time
6.7 Choosing Languages, and Date and Time Formats
Table 62 (Cont.) Format Mnemonics
Time Explanation
!HB2 Hours, Blank-Filled, 12-Hour Clock
!M0 Minutes, Zero-Filled
!MM Minutes, No Fill
!MB Minutes, Blank-Filled
!S0 Seconds, Zero-Filled
!SS Seconds, No Fill
!SB Seconds, Blank-Filled
!C7 Fractional Seconds, 7 Digits
!C6 Fractional Seconds, 6 Digits
!C5 Fractional Seconds, 5 Digits
!C4 Fractional Seconds, 4 Digits
!C3 Fractional Seconds, 3 Digits
!C2 Fractional Seconds, 2 Digits
!C1 Fractional Seconds, 1 Digit
!MIU Meridiem Indicator, Uppercase
!MIC Meridiem Indicator, Capitalized (mixed case)
!MIL Meridiem Indicator, Lowercase
6.7.3.2 Using Predened Formats
Table 6–3 lists all predefined date format logical names, their formats, and
examples of the output generated using those formats. The mnemonics used to
specify the formats are listed in Table 6–2.
Table 63 Predened Output Date Formats
Date Format Logical Format Example
LIB$DATE_FORMAT_001 !DB-!MAAU-!Y4 13-JAN-1998
LIB$DATE_FORMAT_002 !DB !MAU !Y4 13 JANUARY 1998
LIB$DATE_FORMAT_003 !DB.!MAU !Y4 13.JANUARY 1998
LIB$DATE_FORMAT_004 !DB.!MAU.!Y4 13.JANUARY.1998
LIB$DATE_FORMAT_005 !DB !MAU !Y2 13 JANUARY 98
LIB$DATE_FORMAT_006 !DB !MAAU !Y2 13 JAN 98
LIB$DATE_FORMAT_007 !DB.!MAAU !Y2 13.JAN 98
LIB$DATE_FORMAT_008 !DB.!MAAU.!Y2 13.JAN.98
LIB$DATE_FORMAT_009 !DB !MAAU !Y4 13 JAN 1998
LIB$DATE_FORMAT_010 !DB.!MAAU !Y4 13.JAN 1998
LIB$DATE_FORMAT_011 !DB.!MAAU.!Y4 13.JAN.1998
LIB$DATE_FORMAT_012 !MAU !DD, !Y4 JANUARY 13, 1998
LIB$DATE_FORMAT_013 !MN0/!D0/!Y2 01/13/98
(continued on next page)
Setting System Time 621