With your approval of course. After looking at all the code available and some books (date math is not fun). I came up with
function timeleft()
{
return (date(z, mktime(0, 0, 0, 11, 7, 2004)) - date(z));
}
I tried to use the KISS (Keep it simple Stupid) philosophy. Did I do it??
😃
This is to count down the days left until the start of the Vendee singlehanded around the world sailboat race.