$time increment

Allows you to add months, days, seconds, and so on to the original date/time.


Example

Running this code will set the variable "#dateTime" to "06/12/2014 14:50:34".

Then this code will add "5 months, 5 days, 5 hours, 5 minutes, and 5 seconds" to the variable "#dateTime".

As shown in the UBot browser, the value is "11/17/2014 19:55:39".

set(#dateTime,"06/12/2014 14:50:34","Global")
load html($plugin function("Time and Date Automation.dll", "$time increment", 0, 5, 5, 5, 5, 5, 0, #dateTime, "UBOT (MM/dd/yyyy HH:mm:ss)", "UBOT (MM/dd/yyyy HH:mm:ss)"))

Was this helpful?

Previous Article

$time get time zone mapping

Next Article

$time parser