To build a date check in a Cisco ICM script, the function date() can be used.
The function date() returns the current date.
To check if the current date is the 1st January 2008:
Example configuration in the ICM ScriptEditor:
date()=date(yyyy,mm,dd) or date(“yyyy/mm/dd”)
Example of expressions which can be used in the “IF” statement:
date()=date(2008,1,1)
date()>date(2008,1,1)
date()
|