I am newbe to php. I have small problem to compare dates in php.
I have 4 dates named date1, date2, start_date and end_date in the format yyyy-mm-dd
.
i need the functionality like this:
if((date1>=start_date) && (date2<=end_date)){
}
please help me to solve this.