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

Did you know?Explore Trending and Topic pages for more stories like this.
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

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

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

Login script (probably a simple error)
dbConfig.php
Code: <?
// Replace the variable values below
// with your specific dat

PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see

php forms and database navigatio
Hello,
I'm new to php and i'd like to post the following.
I have written code to get records f

Record count of entire database
Does anyone know if there is a way to obtain the number of records in each table of the database usi

quick basic question, hopefully not dumb
I don't know how to search for this, so forgive me if it's been covered...

I often see an exa

Protecting forms
Alright, I want to protect some forms of mine from SQL Injections, because I had someone earlier spa

Using CSS to format MySQL query
Hi,

If i want to have a news page on my site, which displays all records of a table in descen

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