$time current

Allows you to get the current time, date, year, and so on.


Example

Running this code will get the current day. As shown in the UBot browser, the current day is "9".

load html($plugin function("Time and Date Automation.dll", "$time current", "Current Day"))

Running this code will get the current month. As shown in the UBot browser, the current day is "March".

load html($plugin function("Time and Date Automation.dll", "$time current", "Current Month"))

Running this code will get the current day of the week. As shown in the UBot browser, the current day of the week is "Wednesday".

load html($plugin function("Time and Date Automation.dll", "$time current", "Current Week Day"))

Running this code will get the current year. As shown in the UBot browser, the current year is "2022".

load html($plugin function("Time and Date Automation.dll", "$time current", "Current Year"))

Was this helpful?

Previous Article

$time count up/down

Next Article

$time decrement