Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

روز بعد #34

Open
AliDarrudi67 opened this issue Jul 27, 2017 · 0 comments
Open

روز بعد #34

AliDarrudi67 opened this issue Jul 27, 2017 · 0 comments

Comments

@AliDarrudi67
Copy link

سلام دوستان
من از این کد برای به دست اوردن روزهای بین دو تاریخ استفاده میکنم
$start = jmktime(0,0,0,5,8,1396);
$end = jmktime(0,0,0,5,12,1396)+1;
for($i=$start;$i<=$end;$i++)
{
$r = jstrftime('%A',$i);
echo jdate('l, j F Y',$i) . '
';
$i = $i + 86400 ;
}
اما روز اخر رو نشون نمیده.
من الان از 8 مرداد تا 12 مرداد رو میخام
اما از 8 تا 11 رو میاره.
ممنون میشم کمک کنید.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant