Date help - fetch dates for Mondays between xxx and yyy?


Posted on 16th Feb 2014 07:03 pm by admin

Does anyone know the best way to do this? I have two dates, say:

2010-01-26 and 2010-05-30

and I want to return the dates of all the Mondays between them:

2010-02-01
2010-02-08
2010-02-15
....etc.

Thanks

No comments posted yet

Your Answer:

Login to answer
58 Like 40 Dislike
Previous forums Next forums
Other forums

Attempt to assign property of non-object in...
I'm having issues with the following function in PHP 5...

function getTreeWithChildre

Custom list order
Hi there,

I have checked this tutorial and it's great till the point where I want to display

Points for Wiki contribution
Hi everyone,

I want to know how long does it take for the moderator to award points for a

TimeZoneOffset
Hello,

Please i need your help. I have a system that users can use to punch in and out. This

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

Multidimensional $_POST
Hello

How to get a single array from array of array (2 - dimension).
For example I have a

rdns with php
I am trying to build a script that will show all of the different domains that are hosted on the sam

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

CE 7.1 and External GIS integration
Hi All,

We want to develop an application on CE 7.1 which uses GIS features from an exter

How to read CSS message data
Hi,
I have a requirement here. When working as a Dev angel for multiple customers its really di

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash