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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Generate a prompt to say yesterday or tomorrows date

I can make the create generated prompt say todays date automatically,  but I was wondering if there's a argument I can use to make it say yesterdays date or tomorrows date.  I've included the basic screenshot of the current prompt that generates a value for todays date.  Any assistance would be greatly appreciated.

Thanks,

Ben

Screen Shot 2012-01-27 at 2.34.36 PM.png

Screen Shot 2012-01-27 at 2.33.08 PM.pngScreen Shot 2012-01-27 at 2.33.19 PM.png

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Re: Generate a prompt to say yesterday or tomorrows date

Check this out ...

basically it adds 86400000 milliseconds to today's date to get tomorrow's ... and subtracts to get yesterday's.

Brian

Please rate helpful posts

2 REPLIES
Silver

Re: Generate a prompt to say yesterday or tomorrows date

Check this out ...

basically it adds 86400000 milliseconds to today's date to get tomorrow's ... and subtracts to get yesterday's.

Brian

Please rate helpful posts

New Member

Generate a prompt to say yesterday or tomorrows date

Thanks Brian!  That worked perfectly.

702
Views
5
Helpful
2
Replies