Time Functions

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "The '''Time Functions''' returns system time and calculates the differences between hours, minutes, seconds and milliseconds. File:timefunc.jpg == List of Time Functio...")
 
 
Line 8: Line 8:
  
  
*[[Date]]: Tests to see if the scripting environment (the webpage, a variable, a list, etc) is as it should be for the bot to run successfully.
+
*[[Date]]: Returns the current date
  
*[[n seconds]]: Writes a message to a log file that provides an overview of what a bot is trying to accomplish.
+
*[[n seconds]]: Returns a desired amount of second/milliseconds/hours/minutes/days
  
*[[n from now]]: Is used to split up and describe the various tasks that a bot accomplishes.
+
*[[n from now]]: Returns the date plus the desired amount of second/days/milliseconds/hours/minutes
  
*[[n ago]]: A container command that runs commands within it once. Created to work with the log commands.
+
*[[n ago]]: Returns the date minus the desired amount of second/days/milliseconds/hours/minutes
  
*[[Now]]: Writes a message to a log file.
+
*[[Now]]: Returns the current date and time

Latest revision as of 20:58, 6 October 2016

The Time Functions returns system time and calculates the differences between hours, minutes, seconds and milliseconds.


Timefunc.jpg


[edit] List of Time Functions

  • Date: Returns the current date
  • n seconds: Returns a desired amount of second/milliseconds/hours/minutes/days
  • n from now: Returns the date plus the desired amount of second/days/milliseconds/hours/minutes
  • n ago: Returns the date minus the desired amount of second/days/milliseconds/hours/minutes
  • Now: Returns the current date and time
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox