WorldViz User Forum

WorldViz User Forum (
-   Precision Position Tracker (PPT) (
-   -   Printing of System Time (

Uttama_vizard 09-18-2007 03:43 PM

Printing of System Time
I want to print system time for some actions such as keyboard in Vizard in a .dat file. I am able to access the elasped time but not the current system time in the hrs:min:sec format.

Has anybody done it?



farshizzo 09-18-2007 03:57 PM

Have a look at the time module that comes with Python. For example, this should print out the time in Hour:Minute:Second format:

import time
print time.strftime('%H:%M:%S',time.localtime())

Also, please post Vizard related questions in the Vizard forum next time.

Uttama_vizard 09-19-2007 02:38 PM

It works fine.


All times are GMT -7. The time now is 04:43 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC