Time Formats

Estimated reading time: 2 minutes

The following is a list of the Time formats and separators for *Time data type.

</tr> </table> The ampersand (&) separator is replaced with a blank character. E.g., * **HMS&** results in the example time formated as **01 05 PM** . The zero (0) separator is replaced with no character. E.g., * **EURO** results in the example time formated as **130521** . #### **See Also** [Date and Time](ecrLrfDateandTimeMain.html) [*HIVAL](STARHIVAL.html) [*LOVAL](STARLOVAL.html) [Date Formats](Date_Formats.html) [Default Values for all Time Formats](default_values_for_all_time_formats.html)

**RPG name** </td>

**Description** **Format
(Default
Separator)** </td>
**Valid
Sepa-
rators**
**Length** **Example**
*ISO International Standards Organization hh.mm.ss . 0 8 13.05.21
*HMS Hours:Minutes:Seconds hh:mm:ss : . , & 0 8 13:05:21
*USA IBM USA Standard. AM and PM can be any mix of upper and lower case. hh:mm AM or hh:mm PM : 0 8 1:05 PM
*EUR IBM European Standard hh.mm.ss . 0 8 13.05.21
*JIS Japanese Industrial Standard Christian Era hh:mm:ss : 0 8 13:05:21