import time
timestr = time.strftime("%Y/%m/%d-%H:%M")
print timestr
When I run this code it comes out with 2015/10/27-20:36 but how would I make the time 8:36 instead
import time
timestr = time.strftime("%Y/%m/%d-%H:%M")
print timestr
When I run this code it comes out with 2015/10/27-20:36 but how would I make the time 8:36 instead