The output format of the date listed mysql

The output format mysql date listed:

% a week abbreviated name
% b abbreviated names of months
% c month, the value
% D with a mid-day English prefix
% d day of the month, the value (00-31)
% E-day month, values (0-31)
microseconds% f
% H hour (00-23)
% H hour (01-12)
% the I h (01-12)
% I min value (00-59)
% J in days (001-366)
% K h (0-23)
% h L (1-12)
% m month name
% m month value (00-12)
% P AM or the PM
% R & lt time, 12-hour (hh: mm: ss AM or PM)
% S seconds (00-59)
% S seconds (00-59)
% T time, 24 hours (HH: mm: SS)
% the U-weeks (00-53) is the first day of the week Sunday
% u periphery (00 -53) is the first day of the week Monday
% V weeks (01-53) is the first day of the week Sunday, using the% X
Monday is the first day of weeks% v (01-53) of the week, and% using x
% W week name
day% w week (0 = Sunday, 6 = Saturday)
% x-years, which is the first day of the week Sunday, 4, and use% V
% x years, where the first day of the week is Monday, 4, and use% v
% Y years, 4
,% y, 2

Guess you like

Origin www.cnblogs.com/ruize-coding/p/11639481.html