date_range([$unix_start = ''[, $mixed = ''[, $is_unix = TRUE[, $format = 'Y-m-d']]]])
| Parameters: |
|
|---|---|
| Returns: |
An array of dates |
| Return type: |
array |
Returns a list of dates within a specified period.
Example:
$range = date_range('2012-01-01', '2012-01-15');
echo "First 15 days of 2012:";
foreach ($range as $date)
{
echo $date."\n";
}
Please login to continue.