MONTHNAME

Sintassi

MONTHNAME(data)

Spiegazione

Accetta una data e restituisce il nome del mese completo. A partire da MySQL 5.1.12, la lingua usata dipende dalla variabile di sistema lc_time_names (http://dev.mysql.com/doc/refman/5.1/en/locale-support.html).

Esempi

MariaDB [(none)]> SELECT MONTHNAME('2008-02-03');
+-------------------------+
| MONTHNAME('2008-02-03') |
+-------------------------+
| February                |
+-------------------------+
1 row in set (0.00 sec)

MariaDB [(none)]> 

Commenti

Sto caricando i commenti......
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.