Hi,
I do not know about this.
In a table I have from_date and to_date only. I will pass two dates to compare from_date and to_date .
I want all the dates with day in between two days.
My query is SELECT * FROM tbl_name WHERE fromdate>='2015-11-01' AND todate <='2015-11-30'
I need like:
From_date ='2015-11-01' and to_date='2015-11-30
2015-11-01 Sunday
2015-11-02 Monday
2015-11-03 Tuesday
....
2015-11-3 Monday