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

Hit counter updating once per IP - IP HIT COUNTER
I have a hit counter, for the amount of views on a tutorial.
It'll do the query and then do..

str_replace help
Hey there,

I'm a PHP newb, I'm having troubles with the str_replace function. I want to clean

help with contest script
I would like to code a contest script to my site but i don't know how. Could someone just give me pu

PHP using IF to display error
i have a MySQL query and i want to display 1 thing only if the number of affected rows is >=1

check comment for html
hi, I just wanted to check if a comment a user posts contains HTML, and if it does, to not allow it

styling a RadioButtonList
HiI need to have a radio button and close to it, its lable, then a space then another set of those.

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

Locking mysql tables with php
Hi

BACKGROUND:
I have multiple instances of the same php script running in a WAMP environ

Will this protect from mysql injection?
I do not want anything like DROP TABLE to work or any type of coding..

Heres my code.. is it

Escape Latin Characters
I need to escape latin characters in an xml doc. Example: "é" is escaped to "é". I thoug

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