| |
 |
The LORD JESUS is my rock, and my fortress, and my deliverer;
my God, my strength, in whom I will trust.
from PSALM 18, 2 (KJV)
|
|
Northern Delights
|
|
|
|
 |
|
|
|

U.S. Highway 2
|
Last Check-in:
New York City, NY
So happy to cross the G.W. Bridge over the Hudson River and cruising down Broadway to the new ONE WORLD TRADE CENTER. This cycling journey has come to an end here in New York. Our Lord has once again protected me and allowed me to ride safely here. Thank you all for following.
|
$sql_calc = "SELECT unix_timestamp('".$current_time."') - unix_timestamp('".$checkin_time."')";
//print " ".$sql_calc." ";
$res_calc = mysqli_query($db, $sql_calc) or die("SQL Error: [calculate]");
$line_calc = mysqli_fetch_row($res_calc);
$seconds = $line_calc[0];
$minutes = floor($seconds / 60);
$hours = floor($minutes / 60);
$days = floor($hours / 24);
$remaining_hours = $hours - 24 * $days;
$remaining_minutes = $minutes - 60 * $hours;
$remaining_out = "";
//Days
if($days == 1) {
$remaining_out .= "1 day, ";
}
if($days > 1) {
$remaining_out = $days." days, ";
}
//Hours
if($hours == 1) {
$remaining_out .= "1 hour";
}
if($hours > 1) {
$remaining_out .= $remaining_hours." hours";
}
//Minutes
if($remaining_out == "") {
//Days and Hours are 0 -> do not merge string with "and"
$remaining_out .= $remaining_minutes." minutes ago";
}
else {
$remaining_out .= " and ".$remaining_minutes." minutes ago";
}
print "".$remaining_out."";
?>
|
| 2014-07-31 09:06:59 EST |
| 2026-07-07 12:42:59 EST |
|
3233 miles / 5203 km |
|
|