Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] [OT] Subtracting two times in JavaScript
- Date: Sat, 20 Mar 2010 14:47:16 +0000
- From: Godwin Stewart <gstewart@example.com>
- Subject: Re: [tlug] [OT] Subtracting two times in JavaScript
- References: <4BA4D0BD.6030802@example.com> <4BA4D6D1.4080802@example.com>
On Sat, 20 Mar 2010 23:08:17 +0900, Lewske Wada <ryu@example.com> wrote: > Whenever you make difference of two different times, > you need to get everything in UTC as it tries to use the time > in default time zone (JST-9) if omitted, I think. This is not a problem because the same offset is applied to both the start and end times. Also, it still doesn't alter the fact that Date() expects to see the number of milliseconds elapsed since 1/1/1970 passed to its creator rather than the number of milliseconds elapsed between two arbitrary events. -- G. Stewart - gstewart@example.com "There is no reason for any individual to have a computer in their home." -- Ken Olson, President of DEC, World Future Society Convention, 1977Attachment: pgpE8Di1dLq9j.pgp
Description: PGP signature
- References:
- [tlug] [OT] Subtracting two times in JavaScript
- From: Dave M G
- Re: [tlug] [OT] Subtracting two times in JavaScript
- From: Lewske Wada
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] [OT] Subtracting two times in JavaScript
- Next by Date: Re: [tlug] Changing a file server from XP to Ubuntu
- Previous by thread: Re: [tlug] [OT] Subtracting two times in JavaScript
- Next by thread: Re: [tlug] [OT] Subtracting two times in JavaScript
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links