This works fine ...
import time
timeTuple = (2005, 7, 24, 15, 32, 0, 6, 205, 0)
print "MM/DD/YYYY HH:MM:SS =",time.strftime("%m/%d/%y %H:%M:%S", timeTuple)
There must be something wrong with i.issued, you can force it to be a tuple with tuple(i.issued).
You can create this timeTuple with ...
timeTuple = time.strptime("07/24/05 15:32:00", "%m/%d/%y %H:%M:%S")
print timeTuple # shows (2005, 7, 24, 15, 32, 0, 6, 205, -1)
The -1 is just the daylight savings time flag.
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417