View Full Version : Printing of System Time
Uttama_vizard
09-18-2007, 03:43 PM
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?
Thanks
Uttama
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.
Thanks
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.