quirkafleeg 0 Posted June 14, 2013 Report Share Posted June 14, 2013 Hi, Is it possible to record the curret time? This is not obvious to me how to do it. Thanks Quote Link to post Share on other sites
LazyBotter 188 Posted June 14, 2013 Report Share Posted June 14, 2013 There are a few plugins, check this thread: http://www.ubotstudio.com/forum/index.php?/topic/13665-free-plugin-datetime-manipulation/ Carl Quote Link to post Share on other sites
malefic 48 Posted June 14, 2013 Report Share Posted June 14, 2013 If you don't want a plugin (but to be honest, they will be a timesaver!), put the following on a webserver in a file called something like time.php: <?php echo date('d/m/Y - H:ia'); ?> and then in the bot navigate to the page and scrape the date/time stamp HTH Quote Link to post Share on other sites
illmill 87 Posted June 21, 2013 Report Share Posted June 21, 2013 or use $date and use regex to extract the time Quote Link to post Share on other sites
UBotDev 276 Posted June 21, 2013 Report Share Posted June 21, 2013 If you want to use plugin, you can use it like: set(#TIME, $plugin function("DateTime Manipulation.dll", "$datetime manipulation", $date, "UBOT", "Short time", "en-US", "en-US"), "Global") or set(#TIME, $plugin function("DateTime Manipulation.dll", "$datetime manipulation", $date, "UBOT", "Long time", "en-US", "en-US"), "Global") or you could even use custom date/time specifier. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.