This function formats a date time sample into a readable date. 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 RequestDate to have the formula

RequestDateHL7 as date

and the case would then appear as:

RequestDateHL7             200501011523    200506231024    200711280931
RequestDate                01 Jan 05       23 Jun 05       28 Nov 07

See also as time.

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