I need an algorithm that calculates dates that are between two days of the week! for example i have
start date: 23-04-2012 and end date: 27-04-2012
now i want receive an array with this structure:
$arr = array(
'23-04-2012',
'24-04-2012',
'25-04-2012',
'26-04-2012',
'27-04-2012',
'28-04-2012'
);
thanks!