This function formats a date time sample into a readable time. The sample must be in the following format:

yyyyMMddHHmm (e.g. 200612031545)

A typical use of this function would be to format a raw HL7 date time, and show this date time as a calculated value attribute.

For example, given the following case fragment,

RequestDateHL7             200501011523    200506231024    200711280931

you could define a calculated value RequestTime to have the formula

RequestDateHL7 as time

and the case would then appear as:

RequestDateHL7             200501011523    200506231024    200711280931
RequestTime                15:23           10:24           09:31

See also as date.

For more flexible date formatting options, see as datetime in format …from format …