008, MySQL date and time formatting output

# Date formatting
 the SELECT 
    DATE_FORMAT ( ' 2008/08/08 22:23:01 ' , ' % Y-M-% D-% H% -% I -% S ' );

 

Beginning of the heart do not forget, if you think this article valuable, authors agree to pay, micro-channel two-dimensional code can be any amount of a reward to the author (Micro Signal: 382 477 247) Oh, thank you.

 

Guess you like

Origin www.cnblogs.com/tianpan2019/p/11841323.html