ph_getglobal_t PowerHome formula function
Description
Retrieves a global variable and returns the data as a time.
Syntax
ph_getglobal_t ( id )
Argument |
Description |
id |
String identifying the global variable you wish to retrieve. NOTE: Should be all uppercase. |
Return value
Time. The data stored within the global variable will be returned as a time. You should only use this function if you know that the data stored within the global variable can be properly converted to a time.
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_getglobal_t("LAST_MOTION_TIME")