askIT

PHP first and last date of current month

You are here
Support > PHP first and last date of current month

vote_up

0

vote_down

Posted by Administrator · 26 September 2018 · Report

PHP first and last date of current month?


    echo 'First Date    = ' . date('Y-m-01') . '<br />';
    echo 'Last Date     = ' . date('Y-m-t')  . '<br />';

1_180303121314.jpg
Administrator

Reply