ILE COBOL Language Reference

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


LOCALE-TIME

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

The function type is alphanumeric.

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

The content of argument-1 must be in the same format as the hours, minutes, and seconds returned in character positions 9 through 21 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 ]