General

Python Date and Time formatting

%A Weekday as locale’s full name. Monday
%d Day of the month as a zero-padded decimal number. 30
%B Month as locale’s full name. September
%m Month as a zero-padded decimal number. 09
%Y Year with century as a decimal number. 2013
%I Hour (12-hour clock) as a zero-padded decimal number. 07
%H Hour (24-hour clock) as a zero-padded decimal number. 07
%M Minute as a zero-padded decimal number. 06
%S Second as a zero-padded decimal number. 05
%p Locale’s equivalent of either AM or PM. AM