Categories: General, Web
Posted by
nurih on
2/12/2009 10:25 AM |
Comments (0)
You know you are a geek when things like this seem of any importance.
It may comfort you to know that there are others who are excited about the buzz. It may disturb you. Make of it what you will:
On Friday,
February 13th 23:31:30 UTC 2009 the time_t structure would contain the the number
1234567890
The time_t is measures seconds past midnight of January 1 1970
(see
Unix Epoc, POSIX time etc)
You might celebrate UTC time - those of you not stuck in traffic in New York or at work in California. Or just do it according to your time zone: raise a toast, save some doughnuts from doughnut-Friday or look at the sky or do triple click an icon or something.
Here's a little java script to sneak onto your website which shows the time and the countdown:
<script language="javascript" type="text/javascript">
function onTick()
{
var t = Math.floor( ((new Date()).getTime()) /1000);
var remaining = (1234567890 - t);
var display = "Now: " + t + ": " + remaining + " Sec. to 1234567890 (local time zone).";
document.getElementById("_ShowTime").innerHTML = display;
}
setInterval('onTick()', 1000);
</script>
<div id="_ShowTime" style="height: 1.1em; color: white; background-color: navy; font-weight:bolder; border: dashed 1px blue;"></div>
9a13223c-616b-467c-bb7b-411a685b1fa1|0|.0