Contact: aviboots(AT)netvision.net.il
41,379 questions
53,922 answers
573 users
$date = new DateTime('first day of this month'); echo $date->format('jS, F Y'); /* run: 1st, December 2023 */
$first_date_of_current_month = date('Y-m-01'); echo $first_date_of_current_month; /* run: 2023-12-01 */