# Revision history [back]

### How to add or subtract time from date/time field

Hi Team,

I have a requirement where I would want to add some hours or minutes to my time variable.

For example: How would I do this?

${time:now()} - 4 hours. I want to do add/subtract from current time like how they do it in bash --> https://stackoverflow.com/questions/40245905/script-shell-how-to-add-x-minutes-to-a-given-date Thanks and regards.  2 None metadaddy 5464 ●26 ●41 ●81 https://about.me/patpa... ### How to add or subtract time from date/time field Hi Team, I have a requirement where I would want to add some hours or minutes to my time variable. For example: How would I do this? ${time:now()} - 4 hours.hours.


I want to do add/subtract from current time like how they do it in bash --> https://stackoverflow.com/questions/40245905/script-shell-how-to-add-x-minutes-to-a-given-date

Thanks and regards.