strftime in python 2.2

2007-08-13 Thread Flyzone
I'm trying to make work this code in python 2.2.3: check=datetime.datetime.today().strftime(%H%M) but datetime is not supported in that version but just in the later. I can't upgrade python, too many dependencies in a critical system. How can i convert that string to have the same result? Hope

Re: strftime in python 2.2

2007-08-13 Thread Martin Blume
Flyzoneschrieb I'm trying to make work this code in python 2.2.3: check=datetime.datetime.today().strftime(%H%M) but datetime is not supported in that version but just in the later. I can't upgrade python, too many dependencies in a critical system. How can i convert that string to