Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Time is a fixed-length field with a length of 8, containing a time in ISO format: HH:MM:SS. The *NULL value is 00:00:00 (i.e. midnight).

Please review the general 1.1.1 Field Type Considerations.

...

  • Working fields may be defined as TYPE(*TIME). Time literals are always specified in ISO format; for example: 22:58:35 or 03:08:05. Note that seconds are optional (if omitted, they are assumed to be zero), so 22:58 or 03:08 would also be valid.

Platform Considerations

...

  • To use a Time field, #MyTime, as an alpha argument, you simply use #MyTime.asString, explicitly stating that you want to use the string representation.

Also See

1.1.13 DateTime

1.1.11 Date