Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$FMTHL7^XLFDT(): Convert VA FileMan Date to HL7 Date

Reference Type: Supported, Category: Date Functions, ICR#: 10103

Description

The $$FMTHL7^XLFDT extrinsic function converts a VA FileMan formatted input date/time into a Health Level Seven (HL7) formatted date, including the time offset.

Format

  $$FMTHL7^XLFDT(fm_date_time)

Input Parameters

fm_date_time:

(required) VA FileMan date.

Output

returns:

Returns the converted date in HL7 format.

Example

>S X=$$FMTHL7^XLFDT(3001127.1525)

>W X
200011271525-0800