Answers for "php this month first day"

PHP
1

first day of month php

$first_day = date('Y-m-01');   $last_day = date('Y-m-t');
Posted by: Guest on August-29-2021
0

get first day of current month php

<?php
    // First day of this month
    $d = new DateTime('first day of this month');
    echo $d->format('jS, F Y');
?>
Posted by: Guest on July-30-2020
0

php get current month first date

<?php
    // First day of this month
    $d = new DateTime('first day of this month');
    echo $d->format('jS, F Y');
?>
Posted by: Guest on May-12-2021

Code answers related to "php this month first day"

Browse Popular Code Answers by Language