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

$$FMTH^XLFDT(): Convert VA FileMan Date to $H

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

Description

The $$FMTH^XLFDT extrinsic function converts a VA FileMan formatted input date to a $H formatted date.

Format

  $$FMTH^XLFDT(x[,y])

Input Parameters

x:

(required) VA FileMan date.

y:

(optional) 1 to return the date portion only (no seconds).

Output

returns:

Returns the converted date in $H format.

Examples

Example 1

>S X=$$FMTH^XLFDT(2901231.111523)

>W X
54786,40523

Example 2

>S X=$$FMTH^XLFDT(2901231.111523,1)

>W X
54786