python: date and time format symbols

% y represents a two-digit year (00-99)
% the Y represents a four-digit year (000-9999)
% m (01-12)
within% d month of day (0-31 of)
% H 24 hours number (0-23) manufactured hour
% I 12 hours (01-12) manufactured by h
% M number of minutes (00 = 59)
% S seconds (00-59)
% A simplified week local name
% A full week of local name
% b local simplified month name
% B full month name local
% c represents the respective local date and time indicates
one day (001-366)% j years
% p local AM or PM symbol equivalent
% of U week of the year number (00-53) on Sunday as the start of the week
% w week (0-6), Sunday to begin the week of
% W week number of the year (00-53) on Monday for the start of the week
% x corresponding local date It represents
% X represents a local time corresponding to
the name of the current time zone% Z
%%% No se

Guess you like

Origin blog.csdn.net/weixin_44523387/article/details/93379241