Time
Time can be represented as, HH:mm:ss.SSS
or HHmmss.SSS
i.e it can be passed with or without separators (: U+003A)
.
It uses a 24-hour clock system. Midnight is a special case and it may be referred to as "00:00"
or "24:00"
. However, ISO 8601-1: 2019 no longer permits "24:00"
.
Value | Description | Example |
| 24-hour clock hour, ( | |
| Minutes, Decimal number ( | |
| Seconds, Decimal number ( | |
| Milliseconds, three-digit decimal number ( | |
Time with separators: | Time without Separators: |
|
|
|
|
|
|
|
|
The code snippet demonstrates how to define and use time
In the Internet Object Document.
MemberDef
The Time is derived from the String type, hence it shares the same MemberDef as the String. However, Time enforces additional constraints with the respective time format and the same is applicable to the Time MemberDef.
Last updated