Ever needed to view your calendar 4 weeks, 3 months or 6 months from today? Maybe to schedule your next appointment with your doctor or dentist? Tired of frantically swiping so you can view your calendar around when your next appointment should be? Me too! Here's how to open your calendar to a view showing a specified number of days from today:
A1: Variable Set [ Name:%uri To:content://com.android.calendar/time/ Do Maths:Off Append:Off ]
A2: Variable Set [ Name:%uri To:( %TIMES + ( 86400 * 28 ) ) * 1000 Do Maths:On Append:On ]
A3: Browse URL [ URL:%uri ]
In action A2, the bolded 28 is the number of days in the future when you want to view your calendar. In my setup I created 3 tasks, one for 4 weeks (shown above), one for 3 months, and one for 6 months. For 3 months, I replaced the 28 with 7 * 13 (7 days/week x 13 weeks), and for 6 months I replaced the 28 with 7 * 26. I did it this way because I think it will make it easier to understand if/when I go back to look at this later.
Edited 2015-10-30: Changed A3 to use Browse URI instead of Load App. Though Load app did work much of the time, if the Calendar app had been previously opened and not exited using the Back button, the task would open the whatever date was most recently displayed in the app, instead of the intended date.