Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #16208

Re: How to construct a tomorrow?

From Dr J R Stockton <reply1239@merlyn.demon.co.uk.invalid>
Newsgroups comp.lang.javascript
Subject Re: How to construct a tomorrow?
Date 2012-09-27 21:32 +0100
Organization Home
Message-ID <vLOUbtJkfLZQFwnV@invalid.uk.co.demon.merlyn.invalid> (permalink)
References <6aae09ab-0d45-4c30-accf-909d7445c6a2@o8g2000yqm.googlegroups.com>

Show all headers | View raw


In comp.lang.javascript message <6aae09ab-0d45-4c30-accf-909d7445c6a2@o8
g2000yqm.googlegroups.com>, Wed, 26 Sep 2012 14:47:31, justaguy
<lichunshen84@gmail.com> posted:

>
>var today = new Date();
>       today = today.toDateString();
>       // alert(today);
>       // all good
>
>how do we get tomorrow based on today?
>var tomorrow = today + 1
>// definitely won't work
>// and javascript does not something like dateAdd function or method
>// googling get some long worded code to get a little thing done, your
>thoughts?

Read <http://www.merlyn.demon.co.uk/js-dates.htm> and its friends, and
save the rest of us getting terribly terribly tired of you.

Also, please indicate whether you come from an English-speaking country,
or the USA, or elsewhere.  It will help us to judge your IQ from tour
writing, which is all we have to go on,  Otherwise, the worst is likely
to be assumed.

-- 
(c) John Stockton, nr London UK.  ???@merlyn.demon.co.uk  Turnpike v6.05  MIME.
 Web  <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
     Check boilerplate spelling -- error is a public sign of incompetence.
    Never fully trust an article from a poster who gives no full real name.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to construct a tomorrow? justaguy <lichunshen84@gmail.com> - 2012-09-26 14:47 -0700
  Re: How to construct a tomorrow? Christoph Becker <cmbecker69@gmx.de> - 2012-09-27 00:58 +0200
    Re: How to construct a tomorrow? justaguy <lichunshen84@gmail.com> - 2012-09-26 17:47 -0700
      Re: How to construct a tomorrow? Gene Wirchenko <genew@ocis.net> - 2012-09-26 19:53 -0700
        Re: How to construct a tomorrow? Dr J R Stockton <reply1239@merlyn.demon.co.uk.invalid> - 2012-09-28 18:40 +0100
          Re: How to construct a tomorrow? Gene Wirchenko <genew@ocis.net> - 2012-09-29 20:52 -0700
    Re: How to construct a tomorrow? Dr J R Stockton <reply1239@merlyn.demon.co.uk.invalid> - 2012-09-28 18:30 +0100
      Re: How to construct a tomorrow? Christoph Becker <cmbecker69@gmx.de> - 2012-09-29 02:00 +0200
        Re: How to construct a tomorrow? John G Harris <john@nospam.demon.co.uk> - 2012-09-29 10:02 +0100
        Re: How to construct a tomorrow? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-09-30 14:29 +0200
          Re: How to construct a tomorrow? Christoph Becker <cmbecker69@gmx.de> - 2012-09-30 23:24 +0200
        Re: How to construct a tomorrow? Dr J R Stockton <reply1239@merlyn.demon.co.uk.invalid> - 2012-09-30 19:55 +0100
  Re: How to construct a tomorrow? Dr J R Stockton <reply1239@merlyn.demon.co.uk.invalid> - 2012-09-27 21:32 +0100
    Re: How to construct a tomorrow? Christoph Becker <cmbecker69@gmx.de> - 2012-09-28 01:03 +0200
      Re: How to construct a tomorrow? Gene Wirchenko <genew@ocis.net> - 2012-09-27 16:36 -0700
      Re: How to construct a tomorrow? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-09-28 10:37 +0200
      Re: How to construct a tomorrow? Dr J R Stockton <reply1239@merlyn.demon.co.uk.invalid> - 2012-09-29 20:39 +0100
        Re: How to construct a tomorrow? Christoph Becker <cmbecker69@gmx.de> - 2012-09-30 23:37 +0200
    Re: How to construct a tomorrow? Andrew Poulos <ap_prog@hotmail.com> - 2012-09-28 09:25 +1000
    Re: How to construct a tomorrow? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-09-28 08:37 -0700
      Re: How to construct a tomorrow? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-09-28 18:48 +0200
      Re: How to construct a tomorrow? Dr J R Stockton <reply1239@merlyn.demon.co.uk.invalid> - 2012-09-29 20:40 +0100
        Re: How to construct a tomorrow? Andrew Poulos <ap_prog@hotmail.com> - 2012-09-30 18:32 +1000
    Re: How to construct a tomorrow? Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-09-28 23:57 +0200
      Re: How to construct a tomorrow? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-09-30 13:49 +0200

csiph-web