%r : DATE_FORMAT : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » DATE_FORMAT »

 

%r


mysql>
mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%r');
+------------------------------------------+
| DATE_FORMAT('1997-10-04 22:23:00', '%r') |
+------------------------------------------+
10:23:00 PM                              |
+------------------------------------------+
row in set (0.00 sec)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» DATE_FORMAT