2 ms·Wrong time(), you want datetime.time(). time.time() returns the seconds elapsed since the epoch.by Aramgutang 13y agoWrong time(), you want datetime.time(). time.time() returns the seconds elapsed since the epoch.