"Flyzone"schrieb > 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? >
import time time.strftime("%H%M) HTH Martin -- http://mail.python.org/mailman/listinfo/python-list