Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get next month first day php

$config_month  = 1;
$config_day = 1;

$new_expiry_date = date('Y-m-d', mktime(0, 0, 0, date('m') + $config_month, 1 + $config_day, date('Y')));
                
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #month #day #php
ADD COMMENT
Topic
Name
5+6 =