OverviewExamples
current_time = System.GetTime(0);
Stores the current military time (HH:MM:SS) in the variable "current_time."
mmhh = System.GetTime(3) ..":".. System.GetTime(4);
Stores the current minute, followed by a colon and the current hour in the variable "mmhh."
Note: The concatenation operator (..) is used to add the current minute followed by the ":" character and the current hour.
wordytime = System.GetTime(4) .." hours, ".. System.GetTime(3) .." minutes and ".. System.GetTime(2) .." seconds";
Stores a string containing the current hour, minute, and second in the variable "wordytime." The result may look something like, "6 hours 42 minutes and 30 seconds."
See also: Related Actions