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

ORA-00932: inconsistent datatypes: expected - got CLOB
SO : windows xp
database : XE

there is a table (transito) with two fields of clob

fwrite error
Hi All,
Does anyone know what is causing the error in this code?

Code: <?
$error

Using real time in php
I'm very average at PHP and im looking to introduce time to something on my site.
Its a sports si

Add weeks in a query?
I have a SQL that summarizes the quantity per week. The weeks that has no value does not exist in th

square instead of number
Hello
I do not know why but this code seems to work fine only in my xampp local insallation but n

How to convert this array to string
I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [

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

MySQL noob question
hi guys

I have a simple mysql table set up, along the lines of

Col 1 - Col 2 - Date_l

php redirecting
i wont open a new thread but i have a question about redirecting....
i wonder why my code doesnt

Buggy registration system
Hey, I just started scripting in PHP, and I ran into a few problems.
Code: <?php
includ

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