Regular API function

simGetSystemTime / sim.getSystemTime

Description Retrieves the system time. The system time is the time is seconds that elapsed since Windows or CoppeliaSim was started, depending on the system. See also sim.getSystemTimeInMs.
C synopsis simFloat simGetSystemTime()
C parameters
C return value
system time in seconds, or a negative value (-1.0) in case of an error
Lua synopsis float systemTime=sim.getSystemTime()
Lua parameters
Similar to the C-function counterpart
Lua return values
Similar to the C-function counterpart