View Single Post
Old 04-04-2011, 02:58 PM   #2 (permalink)
adamdecaf
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

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';

__________________
My Site
adamdecaf is offline  
Reply With Quote
The Following User Says Thank You to adamdecaf For This Useful Post:
mjwalsh (04-05-2011)