Collections:
MONTHNAME() - Name of Month
How to obtain the name of month of a given date using the MONTHNAME() function?
✍: FYIcenter.com
MONTHNAME(date) is a MySQL built-in function that
returns the name of month from a given date.
For example:
SELECT MONTHNAME('2023-02-03'), MONTHNAME(NOW());
-- +-------------------------+------------------+
-- | MONTHNAME('2023-02-03') | MONTHNAME(NOW()) |
-- +-------------------------+------------------+
-- | February | November |
-- +-------------------------+------------------+
Reference information of the MONTHNAME() function:
MONTHNAME(date): str Returns the full name of the month for date. The language used for the name is controlled by the value of the lc_time_names system variable. Arguments, return value and availability: date: Required. The date to extract the name of month from. str: Return value. The name of month. Available since MySQL 4.
⇒ NOW() - Start Time of Execution
2023-11-17, 1303🔥, 0💬
Popular Posts:
How To Get Help Information from the Server in MySQL? While you are at the "mysql>" prompt, y...
How To Create a Dynamic Cursor with the DYNAMIC Option in SQL Server Transact-SQL? If the underlying...
How To Start MySQL Server in MySQL? If you want to start the MySQL server, you can run the "mysqld" ...
How to download Microsoft SQL Server 2005 Express Edition in SQL Server? Microsoft SQL Server 2005 E...
How To Download Oracle Database 10g XE in Oracle? If you want to download a copy of Oracle Database ...