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

$$HADD^XLFDT(): $H Add

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

Description

The $$HADD^XLFDT extrinsic function returns the result of adding days, hours, minutes, and seconds to a date in $H format.

Format

  $$HADD^XLFDT(x,d,h,m,s)

Input Parameters

x:

(required) $H date (in quotes).

d: (required) Days.
h: (required) Hours.
m: (required) Minutes.
s:

(required) Seconds.

Output

returns:

Returns the resultant date in $H format.

Example

>S X=$$HADD^XLFDT("54786,3600",2,2,20,15)

>W X
54788,12015