> > Do you mean 12 Noon or 12 Midnight? 12AM and 12PM don't exist, > do they? > >>> t = (2007, 5, 14, 12, 0,0,0,0,0) >>> strftime('%p', t) 'PM' >>> t = (2007, 5, 14, 0,0,0,0,0,0) >>> strftime('%p', t) 'AM' >>>