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

Operator precedence assistance.
I did a quick Google search and couldn't quite find the answer I wanted in terms I could understand,

foreach iterator
Hi Guys
Does the foreach loop have an inbuilt iterator ?

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

php slowing my site?
Hi all,

I think that one of the reasons that my site doesn't work fast is that the code is ve

selection tool on raster image
Hi!
I have to implement in my app a selection tool which lets users to select region of any shape

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

include
Hi I have this way of licensing my PHP application, and I want to know if you guys can answer some q

Getting PHP to ammended the selected in option field
Hey Guys

thanks for everyones help so far. This site and its users are oozing awesomness.

Line break?
Hi, I'm new to the forum and new to php. I'm not sure if I'm using the correct terminology so here i

extract data
Code: <div class="post hentry uncustomized-post-template">

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