🐬

MySQL DD/MMM/YYYY

Output: 29/3ar/2026
Hurtig Reference
Format Streng
%d %b %Y
Output
29/3ar/2026

Formater dato som DD/MMM/YYYY i MySQL

🐬 MySQL
SELECT DATE_FORMAT(NOW(), '%d %b %Y') AS formatted_date; -- Output: 31 Dec 2025

MySQL datoformat koder

Kode Betydning Eksempel
%d Day of month (01-31) 31
%e Day of month (1-31) 31
%m Month (01-12) 12
%c Month (1-12) 12
%Y Year (4 digits) 2025
%y Year (2 digits) 25
%b Abbreviated month Dec
%M Full month name December

Andre formater i MySQL

DD/MMM/YYYY i andre sprog

Officiel Dokumentation

For mere information om datoformatering i MySQL, se den officielle dokumentation:

MySQL dato dokumentation →

Relaterede Sider