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

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

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

Description

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

Format

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

Input Parameters

x:

(required) $H date (in quotes).

y:

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

Output

returns:

Returns the converted $H date in VA FileMan format.

Examples

Example 1

>S X=$$HTFM^XLFDT("54786,40523")

>W X
2901231.111523

Example 2

>S X=$$HTFM^XLFDT("54786,40523",1)

>W X
2901231