AnonSec Team
Server IP : 10.128.40.6  /  Your IP : 216.73.216.233
Web Server : Apache
System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : logmcpe ( 111175)
PHP Version : 7.3.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/logmcpe/www/TMCPRO/pages/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/TMCPRO/pages/testdate.php
								<?php
								$crdebut ='2021-05-01';
								$ctend ='2021-05-31';
								$week_ctend = date("Y-m-d", strtotime('sunday this week', strtotime($ctend)));
								// echo $week_ctend;
								while ($crdebut < $week_ctend )
								{
									
									// echo $week_start.' '.$week_end.'<br>';
									
									
									$week_start = date("Ymd", strtotime('monday this week', strtotime($crdebut)));
									$week_end = date("Ymd", strtotime('sunday this week', strtotime($crdebut)));
								echo $week_start.' '.$week_end.'<br>';
									$crdebut = date('Y-m-d', strtotime('+1 week', strtotime($crdebut)));
									// echo $crdebut.' $$$$ ';
									// $crdebut = date('Y-m-d', strtotime('+1 week', strtotime($crdebut)));
									// $crdebut = date('Y-m-d', strtotime('+ 7 day', strtotime($crdebut)));
									// echo $crdebut.'<br>';
									// date('Y-m-d', strtotime($Date. ' + 1 day'))
										
								}	
								
								// function x_week_range(&$start_date, &$end_date, $date) {
									// $ts = strtotime($date);
									// $start = (date('w', $ts) == 0) ? $ts : strtotime('last sunday', $ts);
									// $start_date = date('Y-m-d', $start);
									// $end_date = date('Y-m-d', strtotime('next saturday', $start));
								// }
								?>

AnonSec - 2021