SQL$HELP_OLD72.HLB  —  SET  Arguments  DATE date number
    Specifies the display format for date values.

    You must enter a number for the date-number argument. This number
    corresponds to numbers in the date format logical names listed in
    tables in the OpenVMS run-time library documentation.

    For example, LIB$DATE_FORMAT_006 is one of the logical names in
    the table. The logical name specifies the format in which the
    eighth day of May in the year 1957 would be displayed as 8 May
    57. Note that the latter part of the logical name is the number
    006.

    If you wanted to specify the 8 May 57 format using the SET DATE
    FORMAT statement, you would use the numeric part of the LIB$DATE_
    FORMAT_006 logical name, 6. You do not have to enter any leading
    zeros that the number might have.

    If you do not specify a date format, the default is dd-mmm-yyyy.
Close Help