Previous 20 days of the date calendar

23-Sep-2021:Thu
22-Sep-2021:Wed
21-Sep-2021:Tue
20-Sep-2021:Mon
19-Sep-2021:Sun
18-Sep-2021:Sat
17-Sep-2021:Fri
16-Sep-2021:Thu
15-Sep-2021:Wed
14-Sep-2021:Tue
13-Sep-2021:Mon
12-Sep-2021:Sun
11-Sep-2021:Sat
10-Sep-2021:Fri
09-Sep-2021:Thu
08-Sep-2021:Wed
07-Sep-2021:Tue
06-Sep-2021:Mon
05-Sep-2021:Sun
04-Sep-2021:Sat
03-Sep-2021:Fri

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

* 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-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer