![]() | 1 | initial version |
You can do this by converting the DateTime to a long, performing the arithmetic, then converting it back:
${time:millisecondsToDateTime(time:dateTimeToMilliseconds(time:now()) - (4 * 3600 * 1000))}
If you have ideas on how this could be done more elegantly, then please feel free to submit an enhancement request at https://issues.streamsets.com/