ILE COBOL Language Reference

+-------------------------------IBM Extension--------------------------------+


LOCALE-DATE

The LOCALE-DATE function returns a character string containing a date in a culturally-appropriate format specified by a locale.

The function type is alphanumeric.

>>-FUNCTION--LOCALE-DATE--(--argument-1--+-----------------+--)-><
                                         '-mnemonic-name-1-'
 
 
argument-1
Argument-1 must be alphanumeric or DBCS, and 8 character positions in length.

Argument-1 must be a date in the same format as the year, month, and day returned in character positions 1 through 8 by the CURRENT-DATE function. For more information about the CURRENT-DATE function, refer to CURRENT-DATE.

mnemonic-name-1
Mnemonic-name-1 must be associated with a locale in the SPECIAL-NAMES paragraph.

Related Information


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]