2 Votes Vote

how to find number of mondays or tuesdays between two dates?

Posted by topdog 271 days ago Questions| find mondays tuesdays tuesdays All

I hava start date and end date.

I need to find out the day that is Sunday or Monday etc dependant upon user click on checkbox.

How can I find/calculate that in PHP?

1 Answer Bury


Who Voted for this Question



Answers

comment-avatar
topdog
268 days ago
ummm... divide the difference between the two dates by 7?
Rating: 0   up down

Log in to answer or register here.