ruff_hi Live 4ever! Or die trying Joined Oct 24, 2005 Messages 9,135 Location an Aussie in Boston Nov 27, 2006 #1 Hi Ya - I know that I can get the current time with 'getClockText' but what about getting the current date? Is that possible?
Hi Ya - I know that I can get the current time with 'getClockText' but what about getting the current date? Is that possible?
Sto Should i code today ... Joined Dec 15, 2005 Messages 1,144 Location Marseille (France) Nov 28, 2006 #2 you should look at the module time in the python doc . there is all to get the current date (but not tested) Tcho !
you should look at the module time in the python doc . there is all to get the current date (but not tested) Tcho !
Denniz Where's my breakfast? Hall of Fame Staff Retired Moderator Joined Nov 28, 2003 Messages 11,102 Location Dallas Nov 28, 2006 #3 I used the time module for the generated file names in the HOF Mod. time.strftime("%b-%d-%Y_%H-%M-%S") yields this: "Nov-28-2006_05-13-37". Lots of nice formating options there.
I used the time module for the generated file names in the HOF Mod. time.strftime("%b-%d-%Y_%H-%M-%S") yields this: "Nov-28-2006_05-13-37". Lots of nice formating options there.