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