ph_getglobal_d   PowerHome formula function
Description
Retrieves a global variable and returns the data as a date.
Syntax
ph_getglobal_d ( id )
Argument Description
id String identifying the global variable you wish to retrieve. NOTE: Should be all uppercase.
Return value
Date. The data stored within the global variable will be returned as a date. You should only use this function if you know that the data stored within the global variable can be properly converted to a date.
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_getglobal_d("LAST_MOTION")
• ph_getglobal_d("[TEMP4]") --> where TEMP4 contains a Global variable name.