I'm writing a auto-attendant script for an UC540W, and I have a problem to compare dates.
I'm trying something like : If (--Current Date-- >= Beginning && --Current Date-- <= Ending)
The CUE Script Editor display an error about "--Current Date-- ".
What is the keyword to use (if any) to compare a date with the current date ?
The script is attached to this email.
This community does not provide technical support and is not staffed with technical support experts. I recommend you post this and future technical support questions to the Cisco Support Community (https://supportforums.cisco.com/index.jspa) where our Cisco technical support experts provide assistance.
We do encourage you to participate in the Cisco Collaboration Community and to also join our Cisco Collaboration User Group program! In the community, we encourage your discussion/sharing around collaboration topics and Cisco Collaboration Solutions, including business and IT requirements, industry trends, process, culture/organization issues, how collaboration can be used to transform businesses, vendor selection, adoption, training, architecture, licensing, and product features/functionality. If you are a customer or partner, you can also join the user group program to be eligible for member-only events and influence product direction.
We hope to hear from you again.
Moderator for the Cisco Collaboration Community
For getting current date, you need to create a Date variable and give the value of it as,
Also I think while comparing you need to add 1 day to the other date variable which you are comparing with current date.