[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Date Countdown Script?



> Date:          Mon, 12 Feb 1996 16:39:16 -0600 (CST)
> From:          <javascript@obscure.org>
> Subject:       RE: Date Countdown Script?
> To:            javascript@obscure.org
> Cc:            ccbsnow@state.me.us , Brian.Snow@state.me.us , snow@maine.com

> Return-path: <owner-javascript@obscure.org>
> Received: from tol.travelogix.com by utxvms.cc.utexas.edu (PMDF V4.3-13 #8466)
>  id <01I14S9T1PLCAPU4DA@utxvms.cc.utexas.edu>; Mon,
>  12 Feb 1996 16:39:14 -0600 (CST)
> Received: from obscure.org (204.192.122.2) by tol.travelogix.com with SMTP
>  (Apple Internet Mail Server 1.0); Mon, 12 Feb 1996 16:39:09 -0600
> Received: (from majordomo@localhost) by obscure.org (8.6.12/8.6.9)
>  id NAA09768 for javascript-outgoing; Mon, 12 Feb 1996 13:34:27 -0500
> Received: from dino.conicit.ve (dino.conicit.ve [150.188.1.10])
>  by obscure.org (8.6.12/8.6.9) with SMTP id NAA09745 for
>  <javascript@obscure.org>; Mon, 12 Feb 1996 13:33:38 -0500
> Received: from ccas-slip2.saicyt.net.ve by dino.conicit.ve (4.1/SMI-4.1/RP-1.2)
>  id AA04505; Mon, 12 Feb 1996 14:34:55 -0300
> Date: Mon, 12 Feb 1996 14:34:55 -0300
> From: Lourdes Yero <lyero@conicit.ve>
> Subject: Re: Date Countdown Script?
> Sender: owner-javascript@obscure.org
> X-Sender: lyero@dino.conicit.ve (Unverified)
> To: javascript@obscure.org
> Cc: ccbsnow@state.me.us, Brian.Snow@state.me.us, snow@maine.com
> Reply-to: javascript@obscure.org
> Message-id: <9602121835.AA04505@dino.conicit.ve>
> MIME-version: 1.0
> X-Mailer: Windows Eudora Light Version 1.5.2
> Content-type: text/plain; charset="us-ascii"
> Content-transfer-encoding: 7BIT
> Precedence: bulk
> 
> Hello,
> 
> Sorry for the confusion.
> 
> Two versions:
> 
> 1)                        End of millennium is 31 December 1999
> 
> The statement
> 
>   Date.parse(new Date(99, 11, 31, 23, 59, 59)) - Date.parse(new Date())
> 
> gives the number of milliseconds from now until end of millennium 
> 
> 2)                        End of millennium is 31 December 2000
> 
> 
> The statements
> 
>   leap_year_in_milli = 31622400000;  //2000 is a leap year
>   Date.parse(new Date(99, 11, 31, 23, 59, 59)) - Date.parse(new Date()) +
> leap_year_in_milli
> 
> gives the number of milliseconds from now until end of millennium 
> 
> Good luck
> 
> 
> 
> At 11:30 5/02/96 -5000, you wrote:
> >Hello all,
> >
> >	I'm relatively new to both Javascript and this this. I am putting 
> >together a page for our organization relating the year 2000 
> >millenium issues. I'd like to add a counter to display the number of 
> >years, months, days and weeks until January 1, 2000. Javascript seems 
> >like a good choice for this, avoiding cgi. Before I go ahead and 
> >"reinvent the wheel", is there a similar date manipulation script I 
> >might use as a starting place? Thanks in advance.
> >
> 
> --
> Lourdes Yero
> E-mail: lyero@dino.conicit.ve
> 
> 
The end of the millennium is December 31, 2000.  
                     Scott Diedrick