Matrix Version: 5.3.3.0
Hi
I’m currently using the following globals + modifiers in a REST asset as part of the URL:
…&StartDate=%globals_date_relative_next_weekday_d^append:/%%globals_date_relative_next_weekday_m^append:/%%globals_date_relative_next_weekday_Y%&EndDate=
So that’s 3 x keywords, 2 of 'em with a modifier in order to get tomorrow’s date as ‘yy/mm/yyyy’. And it works: excellent.
I’d rather use a single '%globals_date_relative_next_weekday_d/m/Y% for conciseness.
Question 1: Is it possible to use forward slashes in this formatting?
Question 2: this keyword doesn’t appear to accept the PHP ‘day-based’ notation, as when I replace ‘next_weekday’ with ‘tomorrow’ everything breaks. Is this ‘correct’ behaviour?
Thanks as ever…