I am having trouble adjusting a week range in PHP.
I have it working to show the current work week starting on monday.
So for this week it shows 11/29/2010 - 12/03/2010.
Ben mevcut iş haftaki Pazartesi başlayıp göstermek ve Pazartesi iki cuma bitiş tarihi için bu değiştirmeniz gerekir.
Yani, örneğin şu anda bir 2010/11/29 bir başlangıç tarihi ve ve 12.10.2010 bitiş tarihini gösterir.
İşte benim kod
<?
$timestamp = time();
echo date("m/d/Y", strtotime("this monday", $timestamp));
echo " - ";
echo date("m/d/Y", strtotime("Next Friday", $timestamp));
?>
Nasıl "Sonraki Cuma" 7 eklerim
thx