Previous 20 days of the date calendar

05-Dec-2022:Mon
04-Dec-2022:Sun
03-Dec-2022:Sat
02-Dec-2022:Fri
01-Dec-2022:Thu
30-Nov-2022:Wed
29-Nov-2022:Tue
28-Nov-2022:Mon
27-Nov-2022:Sun
26-Nov-2022:Sat
25-Nov-2022:Fri
24-Nov-2022:Thu
23-Nov-2022:Wed
22-Nov-2022:Tue
21-Nov-2022:Mon
20-Nov-2022:Sun
19-Nov-2022:Sat
18-Nov-2022:Fri
17-Nov-2022:Thu
16-Nov-2022:Wed
15-Nov-2022:Tue

$m= date("m");
05= date("d");
2022= date("Y");
for($i=0; $i<=20; $i++){
echo date('d-M-Y:D',mktime(0,0,0,$m,($de-$i),$y)); 
echo "<br>";
}
All Basic Codes
Subscribe to our YouTube Channel here

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com







    Post your comments , suggestion , error , requirements etc here




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2022 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer