Jump to content
UBot Underground

how can you record the current time


Recommended Posts

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...