Previous 20 days of the date calendar

04-Mar-2024:Mon
03-Mar-2024:Sun
02-Mar-2024:Sat
01-Mar-2024:Fri
29-Feb-2024:Thu
28-Feb-2024:Wed
27-Feb-2024:Tue
26-Feb-2024:Mon
25-Feb-2024:Sun
24-Feb-2024:Sat
23-Feb-2024:Fri
22-Feb-2024:Thu
21-Feb-2024:Wed
20-Feb-2024:Tue
19-Feb-2024:Mon
18-Feb-2024:Sun
17-Feb-2024:Sat
16-Feb-2024:Fri
15-Feb-2024:Thu
14-Feb-2024:Wed
13-Feb-2024:Tue

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





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