Previous 20 days of the date calendar

07-Jul-2022:Thu
06-Jul-2022:Wed
05-Jul-2022:Tue
04-Jul-2022:Mon
03-Jul-2022:Sun
02-Jul-2022:Sat
01-Jul-2022:Fri
30-Jun-2022:Thu
29-Jun-2022:Wed
28-Jun-2022:Tue
27-Jun-2022:Mon
26-Jun-2022:Sun
25-Jun-2022:Sat
24-Jun-2022:Fri
23-Jun-2022:Thu
22-Jun-2022:Wed
21-Jun-2022:Tue
20-Jun-2022:Mon
19-Jun-2022:Sun
18-Jun-2022:Sat
17-Jun-2022:Fri

$m= date("m");
07= 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