![](https://wiki.automaxed.com/wp-content/uploads/time-decrement.png)
Allows you to reduce months, days, seconds, and so on to the original date/time.
Example
![](https://wiki.automaxed.com/wp-content/uploads/time-increment-decrement-1.png)
Running this code will set the variable “#dateTime” to “06/12/2014 14:50:34”.
![](https://wiki.automaxed.com/wp-content/uploads/time-decrement-a.png)
![](https://wiki.automaxed.com/wp-content/uploads/time-decrement-a.2.png)
![](https://wiki.automaxed.com/wp-content/uploads/time-decrement-a.3.png)
Then this code will remove “5 months, 5 days, 5 hours, 5 minutes, and 5 seconds” to the variable “#dateTime”.
![](https://wiki.automaxed.com/wp-content/uploads/time-decrement-b.png)
As shown in the UBot browser, the value is “01/07/2014 09:45:29”.
set(#dateTime,"06/12/2014 14:50:34","Global")
load html($plugin function("Time and Date Automation.dll", "$time decrement", 0, 5, 5, 5, 5, 5, 0, #dateTime, "UBOT (MM/dd/yyyy HH:mm:ss)", "UBOT (MM/dd/yyyy HH:mm:ss)"))