
- Learn MySQL
- MySQL - Home
- MySQL - Introduction
- MySQL - Installation
- MySQL - Administration
- MySQL - PHP Syntax
- MySQL - Connection
- MySQL - Create Database
- MySQL - Drop Database
- MySQL - Select Database
- MySQL - Data Types
- MySQL - Create Tables
- MySQL - Drop Tables
- MySQL - Insert Query
- MySQL - Select Query
- MySQL - Where Clause
- MySQL - Update Query
- MySQL - Delete Query
- MySQL - Like Clause
- MySQL - Sorting Results
- MySQL - Using Join
- MySQL - NULL Values
- MySQL - Regexps
- MySQL - Transactions
- MySQL - Alter Command
- MySQL - Indexes
- MySQL - Temporary Tables
- MySQL - Clone Tables
- MySQL - Database Info
- MySQL - Using Sequences
- MySQL - Handling Duplicates
- MySQL - SQL Injection
- MySQL - Database Export
- MySQL - Database Import
How to get the first day of next month in MySQL?
With the help of following MySQL query, we can get the first day of next month −
mysql> SELECT DATE_FORMAT(CURDATE() + INTERVAL 1 MONTH,'%Y-%m-01') AS 'FIRST DAY OF NEXT MONTH'; +-------------------------+ | FIRST DAY OF NEXT MONTH | +-------------------------+ | 2017-11-01 | +-------------------------+ 1 row in set (0.00 sec)
- Related Articles
- How to get last day of the next month in MySQL?
- How to get the first day of the current month in MySQL?
- How to get the first day of the previous month in MySQL?
- How to get first day of every corresponding month in MySQL?
- Get the first and last date of next month in MySQL?
- How to get last day of the current month in MySQL?
- How to get last day of the previous month in MySQL?
- How to display first day and last day of the month from date records in MySQL?
- How to get the day of the month in JavaScript?
- Java Program to adjust Adjust LocalDate to first Day Of next month with TemporalAdjusters class
- How to get last day of a month in Python?
- Get the last day of month in Java
- MySQL query to get next closest day between two days?
- How to get first day of week in PHP?
- How to get first day of the week using Python?

Advertisements