cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
816
Views
5
Helpful
2
Replies
Highlighted
Explorer

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
Highlighted
Enthusiast

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

View solution in original post

2 REPLIES 2
Highlighted
Enthusiast

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

View solution in original post

Highlighted
Explorer

Generate a prompt to say yesterday or tomorrows date

Thanks Brian!  That worked perfectly.