How to Get the First Day Of Specific Month In Php ?
In this example,we helps you can easy and simply get the first day of specific month in php.
1. Code:
2. Example:
Input:
date = '2022-01-10';
Output:
2022-01-01
In this example,we helps you can easy and simply get the first day of specific month in php.
date = '2022-01-10';
2022-01-01