[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[at-l] I'M FREE!!!
Heh.. yeah. The fractions of seconds do go down fairly quickly.
659.75482638889 days.
Here is the PHP code that drives the calculation:
/* Get the start of my thru-hike, 9:00 am Eastern, 3/4/07 */
$hikeStart = strtotime("4 March 2007 07:00");
/* get the epoch for "right now" */
$rightNow= mktime();
/* subtract the start hike epoch from right now epoch */
$deltaTime=$hikeStart - $rightNow;
/* before we print out a date, say why we are here */
print "<strong>The Hike Begins in\n</strong>";
/* give the reader the amount of days */
$days = $deltaTime/86400;
print $days. " days ";
print "<br><p><hr>";
On May 13, 2005, at 10:28 AM, Steve Miller wrote:
> I thought I was going to extremes by calculating to the second! :)
> At least you get to see those last few decimals changing quickly.
> One second can seem so long when you're watching it and waiting......
>
> Steve "No Chance"
>
> Greg Brown wrote:
>
>> 659.90607638889 days until I am free and hit the trail.
>> Greg
>> On May 12, 2005, at 10:26 PM, Steve Miller wrote:
>>
>>> Just a moment, while I have a jealous rage - #%@*!*&@*. Okay,
>>> I'm fine now. Seriously, congratulations and good hiking. My
>>> freedom day is still 10 months away - but I have a counter on my
>>> computer screen to tell me exactly how long until I plan to be
>>> on Springer (309 days, 10 hours, 36 minutes, 10 seconds at this
>>> writing). On the short term schedule, only three weeks until I
>>> leave for Erwin for five days on the trail with my nephew!
>>>
>>> Steve "No Chance"
>>>
>>> Nina wrote:
>>>
>>>
>>>
>>>> I'm free! I'm free! Today was my last day of work! I have
>>>> ceased to be a mindless, squinting, mouse-clicking cubicle
>>>> dweller! I am now, officially, gainfully unemployed till
>>>> August! Hikin' trails, here I come! Yee-hi!
>>>> Waterfall
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> at-l mailing list
>>> at-l@backcountry.net
>>> http://mailman.hack.net/mailman/listinfo/at-l
>>>
>>>
> _______________________________________________
> at-l mailing list
> at-l@backcountry.net
> http://mailman.hack.net/mailman/listinfo/at-l
>