Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Obtaining date in CRS script

Hello,

I have read the article on configuring date retrieval in CRS scripting but still have some questions hopefully someone can help me with.

Here is the article;

http://cisco.com/en/US/products/sw/custcosw/ps1846/products_qanda_item09186a0080204513.shtml

My main problem is that I can't find an object called "Create Java Object". There is only a "Create Java Remote Object". Am I reading this wrong?

Plainly, I am looking for a way to pull a date from the CRS server so that I can configure an IF object to route calls to voicemail on specified holidays.

Any help is appreciated,

-Shikamaru

2 REPLIES
New Member

Re: Obtaining date in CRS script

Hi.

You can use set step with following syntax:

set todaysDate = D[now]

Also you have many other date methods such as:

D[now] .dom - result is day of the month

D[now] .dow - result is day of the week

etc.

regards,

i.

Green

Re: Obtaining date in CRS script

Creating a Java object is now all done using the Expression Editor. It all works - you just need to figure it out. Check the manual.

Regards,

Geoff

248
Views
0
Helpful
2
Replies