cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
968
Views
5
Helpful
2
Replies

Generate a prompt to say yesterday or tomorrows date

benbollinger
Explorer
Explorer

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

1 Accepted Solution

Accepted Solutions

brian1mcc
Enthusiast
Enthusiast

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

brian1mcc
Enthusiast
Enthusiast

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

benbollinger
Explorer
Explorer

Thanks Brian!  That worked perfectly.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers