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

Generate a prompt to say yesterday or tomorrows date

benbollinger
Level 2
Level 2

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
Level 4
Level 4

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
Level 4
Level 4

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
Level 2
Level 2

Thanks Brian!  That worked perfectly.