![]() ![]() |
Reference Type: Supported, Category: Date Functions, ICR#: 10103
The $$HTE^XLFDT extrinsic function converts a $H formatted input date to an external formatted date.
$$HTE^XLFDT(x[,y])
x: |
(required) $H date (in quotes). |
y: |
(optional) Affects output as follows:
|
returns |
Returns the external format of a $H date. |
Return the date in the following format: Standard external format.
>S X=$$HTE^XLFDT("54786,40523") >W X Dec 31, 1990@11:15:23 |
Return the date in the following format: MM/DD/YY@HH:MM:SS.
>S X=$$HTE^XLFDT("54786,40523",2) >W X 12/31/90@11:15:23 |
Return the date in the following format: MM/DD/YY@HH:MM:SS, omitting the seconds.
>S X=$$HTE^XLFDT("57386,33723","2M") >W X 2/12/98@09:22 |
Return the date in the following format: MM/DD/YYYY@HH:MM:SS.
>S X=$$HTE^XLFDT("57351,27199",5) >W X 1/8/1998@07:33:19 |
Return the date in the following format: DD/MM/YYYY@HH:MM:SS.
>S X=$$HTE^XLFDT("57351,27199",6) W X 8/1/1998@07:33:19 |
Return the date in the following format: YYYY/MM/DD@HH:MM:SS.
>S X=$$HTE^XLFDT("57351,27199",7) W X 1998/1/8@07:33:19 |