(no subject)
Apr. 21st, 2003 08:43 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
d00t.
I have a countdown on my webpage, again, until I next flee the country.. I got bored tonight and did some messing around and wrote something a lot better..
Go to http://theducks.org/time_diff.php - fill in the form and submit it, and it returns a JPEG showing the countdown.. you can then copy the URL and stick it into a webpage of your choice as an
I have a countdown on my webpage, again, until I next flee the country.. I got bored tonight and did some messing around and wrote something a lot better..
Go to http://theducks.org/time_diff.php - fill in the form and submit it, and it returns a JPEG showing the countdown.. you can then copy the URL and stick it into a webpage of your choice as an
[Error: Irreparable invalid markup ('<img ..>') in entry. Owner must fix manually. Raw contents below.]
d00t.
I have a countdown on my webpage, again, until I next flee the country.. I got bored tonight and did some messing around and wrote something a lot better..
Go to http://theducks.org/time_diff.php - fill in the form and submit it, and it returns a JPEG showing the countdown.. you can then copy the URL and stick it into a webpage of your choice as an <IMG ..> As the date, it takes any regular english expression like "Next Tuesday" "10 years from now" etc, and evaluates it.. of course, if you put in a relative description like that, it will re-evaluate each time you view it and will always show the same thing, so putting in something like "25th May 2003" would be a lot better ;) It also works with dates in the past.
<img src="http://www.theducks.org/time_diff.php?Desc=days+until+I+arrive+in+London+Ontario&TargetTS=7+June+2003"><br>
<img src="http://www.theducks.org/time_diff.php?Desc=days+until+I+leave+for+Japan&TargetTS=May+25+2003"><br>
<img src="http://www.theducks.org/time_diff.php?Desc=days+until+my+next+birthday&TargetTS=sept+24"><br>
<img src="http://www.theducks.org/time_diff.php?Desc=days+since+Alex+was+born&TargetTS=Sept+24+1979"><br>
Nifty eh?
Source code is available here: http://www.theducks.org/time_diff.php?Desc=highlight&TargetTS=
I have a countdown on my webpage, again, until I next flee the country.. I got bored tonight and did some messing around and wrote something a lot better..
Go to http://theducks.org/time_diff.php - fill in the form and submit it, and it returns a JPEG showing the countdown.. you can then copy the URL and stick it into a webpage of your choice as an <IMG ..> As the date, it takes any regular english expression like "Next Tuesday" "10 years from now" etc, and evaluates it.. of course, if you put in a relative description like that, it will re-evaluate each time you view it and will always show the same thing, so putting in something like "25th May 2003" would be a lot better ;) It also works with dates in the past.
<img src="http://www.theducks.org/time_diff.php?Desc=days+until+I+arrive+in+London+Ontario&TargetTS=7+June+2003"><br>
<img src="http://www.theducks.org/time_diff.php?Desc=days+until+I+leave+for+Japan&TargetTS=May+25+2003"><br>
<img src="http://www.theducks.org/time_diff.php?Desc=days+until+my+next+birthday&TargetTS=sept+24"><br>
<img src="http://www.theducks.org/time_diff.php?Desc=days+since+Alex+was+born&TargetTS=Sept+24+1979"><br>
Nifty eh?
Source code is available here: http://www.theducks.org/time_diff.php?Desc=highlight&TargetTS=
(no subject)
Date: 2003-04-21 06:12 am (UTC)and hey, I go back home in a week and a half or so, so I'll prolly catch you on icq before you're off to the great non-Aussie yonder ;)
(no subject)
From: