|
|
Reference Type: Supported, Category: Date Functions, Integration Agreement: 10103
This extrinsic function returns the next run-time based on Schedule code.
$$SCH^XLFDT(schedule_string,base_date[,force_future_flag])
| schedule_string: |
(required) Interval to add to base_date, as follows:
|
| base_date: |
(required) VA FileMan date to which the interval is added. |
| force_future_flag: |
(optional) If passed with a value of:
|
| returns: |
Returns the next run-time. |
|
To schedule something to run every month on the 15th of the month at 2:00 p.m. and on the last day of every month at 6:00 p.m., you would enter the following:
>S X=$$SCH^XLFDT("1M(15@2PM,L@6PM)",2931003)
>W X
2931015.14
To schedule something to run every month on the 15th of the month at 2:00 p.m. and on the last day of every month at 6:00 p.m., you would enter the following:
>S X=$$SCH^XLFDT("1M(15@2PM,L@6PM)",2931028)
>W X
2931031.18
To schedule something to run every 3 months on the last day of every month at 6:00 p.m., you would enter the following:
>S X=$$SCH^XLFDT("3M(L@6PM)",2930931)
>W X
2931231.18
|
VA (Internet) / VA (Intranet) / OI / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility Reviewed/Updated:
December 14, 2005
|