php strtotime 1 day ago from
date('Y-m-d', strtotime('+1 day', strtotime($date)))
php strtotime 1 day ago from
date('Y-m-d', strtotime('+1 day', strtotime($date)))
last day of previous month in php
$lastDay = date('t',strtotime('last month'));
print_r($lastDay);
php date function get previous month
$tgl = '25 january 2012';
$prevmonth = date("M Y",mktime(0,0,0,date("m", strtotime($tgl))-1,1,date("Y", strtotime($tgl))));
echo $prevmonth;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us