addedValueMacros.dateOffset
Syntax
{addedValueMacros.dateOffset(startDate, day=0, month=0, year=0, hour=0, minute=0, second=0)}
- startDate - a value that Frontier interprets as a date
- day (optional, default 0) - a positive or negative number of days
- month (optional, default 0) - a positive or negative number of months
- years (optional, default 0) - a positive or negative number of years
- hours (optional, default 0) - a positive or negative number of hours
- minutes (optional, default 0) - a positive or negative number of minutes
- seconds (optional, default 0) - a positive or negative number of seconds
Examples
| {addedValueMacros.dateOffset("Mon, 12 Apr 2004 07:51:07 GMT", -1, -1, -1, -1, -1, -1, -1)} | 2003.03.11; 7:50:06 Uhr |
Semantics
Computes a new date, offset from startDate by the specified amount.