The
viz.getFrameTime() function returns the current time in seconds. You can use the
time module to format it for display. The following code will format the time to hrs:min:secs:
Code:
import time
print time.strftime('%H:%M:%S',time.gmtime(viz.getFrameTime()))