Previous 20 days of the date calendar

29-Jan-2022:Sat
28-Jan-2022:Fri
27-Jan-2022:Thu
26-Jan-2022:Wed
25-Jan-2022:Tue
24-Jan-2022:Mon
23-Jan-2022:Sun
22-Jan-2022:Sat
21-Jan-2022:Fri
20-Jan-2022:Thu
19-Jan-2022:Wed
18-Jan-2022:Tue
17-Jan-2022:Mon
16-Jan-2022:Sun
15-Jan-2022:Sat
14-Jan-2022:Fri
13-Jan-2022:Thu
12-Jan-2022:Wed
11-Jan-2022:Tue
10-Jan-2022:Mon
09-Jan-2022:Sun

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

* 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