I want to start off by I know how to make basic Token adjustments like a ‘Last 90 Days’ which you’d just say it to the day level minus 90 and call it a day but now we have a client that wants a School Cycle date token.
Goal: Create a time token for a date range with an end date or the current date to a start date of the most recent July 1.
- Example 1: If we selected this custom token today (2019-09-05) we’d expect a range of:
** Start Date = July 1, 2019
** End Date = Sept. 5, 2019 - Example 2: If we selected this custom token on June 31, 2019 we’d expect a range of:
** Start Date = July 1, 2018
** End Date = June 3, 2019
Anyone have a custom time token script that would work for this, even if it needs some tweaking. Unfortunately I’ve had limited exposure/experience in C# so any assistance will be greatly appreciated!