12
Python API:
Function: tools.run_time_of_program()
Return value:
● time (float)
(1) Objective: Acquires current time information including the year, month, day, hour, minute, and second
(2) Type: Information block (variable-type)
(3) Example: Compare time values
If the number of the current month is larger than the number of the current day, the robot will nod its head;
if the number of the current month is less than or equal to the number of the current day, the robot will
shake its head.