0
Answered
I want to change the month in utl to subtract 1 from the current month
I am using this:
[% asset.starttime('Y, n, j, G, i, s') %]
and where the month # is (n) I want to subtract 1 from the #.
Example: [% asset.starttime('Y, n -1, j, G, i, s') %]
My example doesn't work and is just an example of what I want to happen.
[% asset.starttime('Y, n, j, G, i, s') %]
and where the month # is (n) I want to subtract 1 from the #.
Example: [% asset.starttime('Y, n -1, j, G, i, s') %]
My example doesn't work and is just an example of what I want to happen.
Customer support service by UserEcho
newdate = asset.starttime('U') - (30*3600);
echo newdate | datetime('Y, n, j, G, i, s');
It's not exactly one "month" but it's pretty close.
Thanks.