04-04-2011, 02:58 PM
|
#2 (permalink)
|
|
The Addict
Join Date: May 2009
Posts: 287
Thanks: 5
|
An idea:
PHP Code:
// Forward: This is an idea, and is incomplete. date_default_timezone_set('UTC');
// If you take the unix time from the start. // http://us3.php.net/manual/en/function.mktime.php $start = mktime(START);
// Calculate the number of seconds in a day $day = 60 * 60 * 24
// Find the unix timestamp for the end $end = mktime(END);
for ($i = $start; $i <= $end; $i += $day) { echo date("m/d/Y h:i:s", $i) . '\n'; }
|
|
|
|