generate/cbs2.gif Time Hook (R-TIME.MAC) generate/en711.gif


 

The script file must be located in your CAPITAL program directory and must have the file name R-TIME.MAC.

This hook script can be used to set the date CAPITAL assumes is current. This can be useful for security purposes. For example, if the date of a server computer should be used as the basis of the application's own date setting.

Entry Values

None.

Return Values

The script should return two date values in the form of an array. The first date value is the application system wide date. The second date value is the reporting date. Normally they are set the same.

Example

* This script returns the computer clock date.

Return { DATE(), DATE() }

____________________________

Related Topics:

Scripting Hooks

Script Programming

 

 



Help Topic Map