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

puting for loop in 1 value
hi ,

how do i put this code in 1 value:
Code: <?php
for ($i=1; $i<=5; $i

Web Host List
Here is a list of web hosts that offer PHP and MySQL. It is no where near a full list, but it is mos

need a script for 3 pages
I have a customer who wants me to set up a site with a number of pages with the following requiremen

Comparing MySql data and arrays.
I have a mysql table set up like this:
idsubjectbodyuseriddatetimetags1blog subjectblog body111|2

Allegro crashes when running load_bitmap. Why?
I can not get Allegro to load any BMP images. Here is a section of test code. The picture is in the

Session variable help
I'm having a very troubling issue. Maybe I'm just looking over something but I have looked at the co

Is STL important?
I'm just starting programming and I've made it until the Standart Template Library. But the chapter

Validation
Hello

I know this is a really vag question.

I need to have a input field on a form th

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

How to get all server headers like Live http Headers does
Hey all, like many of you I use the Firefox addon "Live http Headers". I'm trying to write

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