Date Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • KL

    Date Question

    I am working on a problem and desperately need help!

    I need to prompt a user for the numerical month of birth, day of birth and
    year of birth and store it in varialbes and the use the variables to build a
    date object. Then print the resulting date object, in it's full form. on
    the screen using document.write. This IS for school and I think I am
    starting out right, but can't quite seem to grasp what I am doing wrong, or
    where to go from here. Any tips would be greatly appreciated.

    Here is what I have so far...

    <script>
    var mob=prompt("Wha t is your month of birth, numerically?", "04");
    var dob=prompt("Wha t is the date of your birth, numerically?", "07");
    var yob=prompt("Wha t is the year of your birth, numerically?", "1967");
    month.setMonth( mob-1);
    day.setDate(dob );
    year.setFullYea r(yob);
    document.write( "Your birthday is " + date + "<br>");
    </script>


    KL


  • Lee

    #2
    Re: Date Question

    KL said:[color=blue]
    >
    >I am working on a problem and desperately need help!
    >
    >I need to prompt a user for the numerical month of birth, day of birth and
    >year of birth and store it in varialbes and the use the variables to build a
    >date object. Then print the resulting date object, in it's full form. on
    >the screen using document.write. This IS for school and I think I am
    >starting out right, but can't quite seem to grasp what I am doing wrong, or
    >where to go from here. Any tips would be greatly appreciated.
    >
    >Here is what I have so far...
    >
    ><script>
    >var mob=prompt("Wha t is your month of birth, numerically?", "04");
    >var dob=prompt("Wha t is the date of your birth, numerically?", "07");
    >var yob=prompt("Wha t is the year of your birth, numerically?", "1967");
    >month.setMonth (mob-1);
    >day.setDate(do b);
    >year.setFullYe ar(yob);
    >document.write ("Your birthday is " + date + "<br>");
    ></script>[/color]

    You want to have a single date object, not one each for month, day and year.
    The easiest way to do that is to use the form of the Date() constructor that
    takes month, day and year as arguments.

    var date=new Date(...left for you to find...or ask about...);
    document.write( ...as you have it...);

    Comment

    • KL

      #3
      Re: Date Question

      "Lee" <REM0VElbspamtr ap@cox.net> wrote in message
      news:cob79702dp 3@drn.newsguy.c om...[color=blue]
      > KL said:[color=green]
      >>
      >>I am working on a problem and desperately need help!
      >>
      >>I need to prompt a user for the numerical month of birth, day of birth and
      >>year of birth and store it in varialbes and the use the variables to build
      >>a
      >>date object. Then print the resulting date object, in it's full form. on
      >>the screen using document.write. This IS for school and I think I am
      >>starting out right, but can't quite seem to grasp what I am doing wrong,
      >>or
      >>where to go from here. Any tips would be greatly appreciated.
      >>
      >>Here is what I have so far...
      >>
      >><script>
      >>var mob=prompt("Wha t is your month of birth, numerically?", "04");
      >>var dob=prompt("Wha t is the date of your birth, numerically?", "07");
      >>var yob=prompt("Wha t is the year of your birth, numerically?", "1967");
      >>month.setMont h(mob-1);
      >>day.setDate(d ob);
      >>year.setFullY ear(yob);
      >>document.writ e("Your birthday is " + date + "<br>");
      >></script>[/color]
      >
      > You want to have a single date object, not one each for month, day and
      > year.
      > The easiest way to do that is to use the form of the Date() constructor
      > that
      > takes month, day and year as arguments.
      >
      > var date=new Date(...left for you to find...or ask about...);
      > document.write( ...as you have it...);[/color]

      OK I have read and reread this and I think I get some of it. But I am
      confused as to what a Date() Constructor is. I don't think we covered that
      in class and I don't find it in my book...or I didn't look right..I will
      look again, but in the meantime, what can someone tell me about the Date()
      Constructor?

      KL


      Comment

      • RobG

        #4
        Re: Date Question

        KL wrote:
        [...][color=blue]
        > OK I have read and reread this and I think I get some of it. But I am
        > confused as to what a Date() Constructor is. I don't think we covered that
        > in class and I don't find it in my book...or I didn't look right..I will
        > look again, but in the meantime, what can someone tell me about the Date()
        > Constructor?
        >[/color]

        Try the following:

        <script type="text/javascript">
        var mob=prompt("Wha t is your month of birth, numerically?"," 04");
        var dob=prompt("Wha t is the date of your birth, numerically?"," 07");
        var yob=prompt("Wha t is the year of your birth, numerically?"," 1967");

        var bDay= new Date(yob,mob,do b);
        alert(bDay);
        </script>


        --
        Rob

        Comment

        • KL

          #5
          Re: Date Question


          "RobG" <rgqld@iinet.ne t.auau> wrote in message
          news:41a9542a$0 $25780$5a62ac22 @per-qv1-newsreader-01.iinet.net.au ...[color=blue]
          > KL wrote:
          > [...][color=green]
          >> OK I have read and reread this and I think I get some of it. But I am
          >> confused as to what a Date() Constructor is. I don't think we covered
          >> that in class and I don't find it in my book...or I didn't look right..I
          >> will look again, but in the meantime, what can someone tell me about the
          >> Date() Constructor?
          >>[/color]
          >
          > Try the following:
          >
          > <script type="text/javascript">
          > var mob=prompt("Wha t is your month of birth, numerically?"," 04");
          > var dob=prompt("Wha t is the date of your birth, numerically?"," 07");
          > var yob=prompt("Wha t is the year of your birth, numerically?"," 1967");
          >
          > var bDay= new Date(yob,mob,do b);
          > alert(bDay);
          > </script>
          >
          >
          > --
          > Rob[/color]

          Thanks Rob...that helped immensely. I get what I was doing wrong. And best
          of all it works now :)

          KL


          Comment

          • Dr John Stockton

            #6
            Re: Date Question

            JRS: In article <41a95ba1_1@127 .0.0.1>, dated Sat, 27 Nov 2004
            23:06:24, seen in news:comp.lang. javascript, KL <klbjornme@aohe ll.com>
            posted :[color=blue]
            >
            >"RobG" <rgqld@iinet.ne t.auau> wrote in message
            >news:41a9542a$ 0$25780$5a62ac2 2@per-qv1-newsreader-01.iinet.net.au ...[color=green]
            >> KL wrote:
            >> [...][color=darkred]
            >>> OK I have read and reread this and I think I get some of it. But I am
            >>> confused as to what a Date() Constructor is. I don't think we covered
            >>> that in class and I don't find it in my book...or I didn't look right..I
            >>> will look again, but in the meantime, what can someone tell me about the
            >>> Date() Constructor?
            >>>[/color]
            >>
            >> Try the following:
            >>
            >> <script type="text/javascript">
            >> var mob=prompt("Wha t is your month of birth, numerically?"," 04");
            >> var dob=prompt("Wha t is the date of your birth, numerically?"," 07");
            >> var yob=prompt("Wha t is the year of your birth, numerically?"," 1967");
            >>
            >> var bDay= new Date(yob,mob,do b);
            >> alert(bDay);
            >> </script>
            >>
            >>
            >> --
            >> Rob[/color]
            >
            >Thanks Rob...that helped immensely. I get what I was doing wrong. And best
            >of all it works now :)[/color]

            You saw Rob's omission, then?


            Moreover, note that by reading back (two of) the fields from bDay, you
            can verify the date as being good Gregorian. Be careful, though, with
            historical dates; William Penn's son John "The American", the first by
            his second wife, was born on 1700-02-29. See sig below.

            --
            © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
            <URL:http://www.jibbering.c om/faq/> JL/RC: FAQ of news:comp.lang. javascript
            <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
            <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

            Comment

            • RobG

              #7
              Re: Date Question

              Dr John Stockton wrote:
              [..][color=blue]
              >
              > Moreover, note that by reading back (two of) the fields from bDay, you
              > can verify the date as being good Gregorian. Be careful, though, with
              > historical dates; William Penn's son John "The American", the first by
              > his second wife, was born on 1700-02-29. See sig below.
              >[/color]

              Yes, I forgot that. It is certainly an issue as different browsers
              support different ranges.

              I think the consensus was that since getFullYear() is not always
              available, checking that the created date object's date and month were
              equal to the input date and month was simplest (provided the OP
              remembers to add one to the month...).

              --
              Rob

              Comment

              • KL

                #8
                Re: Date Question

                "RobG" <rgqld@iinet.ne t.auau> wrote in message
                news:04uqd.890$ I52.38096@news. optus.net.au...[color=blue]
                > Dr John Stockton wrote:
                > [..][color=green]
                >>
                >> Moreover, note that by reading back (two of) the fields from bDay, you
                >> can verify the date as being good Gregorian. Be careful, though, with
                >> historical dates; William Penn's son John "The American", the first by
                >> his second wife, was born on 1700-02-29. See sig below.
                >>[/color]
                >
                > Yes, I forgot that. It is certainly an issue as different browsers
                > support different ranges.
                >
                > I think the consensus was that since getFullYear() is not always
                > available, checking that the created date object's date and month were
                > equal to the input date and month was simplest (provided the OP
                > remembers to add one to the month...).[/color]

                I remembered about the date offset of 1, but I am lost as to the other
                issue. Can you really dumb it down for me?

                KL
                [color=blue]
                > --
                > Rob[/color]


                Comment

                • RobG

                  #9
                  Re: Date Question

                  KL wrote:[color=blue]
                  > "RobG" <rgqld@iinet.ne t.auau> wrote in message
                  > news:04uqd.890$ I52.38096@news. optus.net.au...[/color]
                  [...][color=blue][color=green]
                  >> Yes, I forgot that. It is certainly an issue as different browsers
                  >> support different ranges.
                  >>
                  >> I think the consensus was that since getFullYear() is not always
                  >> available, checking that the created date object's date and month were
                  >> equal to the input date and month was simplest (provided the OP
                  >> remembers to add one to the month...).[/color]
                  >
                  >
                  > I remembered about the date offset of 1, but I am lost as to the other
                  > issue. Can you really dumb it down for me?
                  >[/color]

                  When you create a date object using year, month and day you may be
                  trying to create a date outside the range that the browser can handle.
                  Since you don't know what browser a user may be using, the easiest way
                  is to test the date you create against the input you created it from
                  (assuming you've validated that the input was OK in the first place,
                  that is that the year is a number, month is between 1 and 12 inclusive
                  and the day date between 1 and 31 inclusive).

                  Consider the following function:

                  function makeDate(y,m,d) {
                  var theDate = new Date(y,m-1,d);
                  return theDate;
                  }

                  Provided we call it with something like:

                  alert('The date is ' + makeDate('2003' ,'0','5'));

                  we should get an alert telling us the date is 5 January, 2003. In some
                  browsers, (e.g. Safari) if we use:

                  alert('The date is ' + makeDate('1803' ,'0','5'));

                  we'll get an error because it can't handle that dates before 1900 or
                  after 2038 (most other browsers can). So the best way to test is,
                  after creating our date, to use:

                  if(theDate.getM onth() != m || theDate.getDate () != d) {
                  alert('Can't handle date ' + y +'-' + m + '-' + d);
                  return false;
                  } else {
                  return theDate;
                  }

                  If you want to be really sure, add: || theDate.getFull Year() != y

                  However, getFullYear() may not be implemented and rather than messing
                  around with testing if it is or not, then seeing if the year is less
                  than 1900 then adding 1900, just don't test the year. The chance that
                  the month and date will be OK but year incorrect is pretty slim (in
                  this particular case).

                  Having said that, if you are going to use getFullYear(), you must test
                  that the browser supports it first and if not, use some alternative
                  (say use getYear() and if it returns a value less than 1900, add 1900).

                  For more fun, follow the link in Dr J's signature:

                  <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates,
                  sources.

                  --
                  Rob

                  Comment

                  • KL

                    #10
                    Re: Date Question

                    "RobG" <rgqld@iinet.ne t.auau> wrote in message
                    news:gVxqd.897$ I52.38511@news. optus.net.au...[color=blue]
                    > KL wrote:[color=green]
                    >> "RobG" <rgqld@iinet.ne t.auau> wrote in message
                    >> news:04uqd.890$ I52.38096@news. optus.net.au...[/color]
                    > [...][color=green][color=darkred]
                    >>> Yes, I forgot that. It is certainly an issue as different browsers
                    >>> support different ranges.
                    >>>
                    >>> I think the consensus was that since getFullYear() is not always
                    >>> available, checking that the created date object's date and month were
                    >>> equal to the input date and month was simplest (provided the OP
                    >>> remembers to add one to the month...).[/color]
                    >>
                    >>
                    >> I remembered about the date offset of 1, but I am lost as to the other
                    >> issue. Can you really dumb it down for me?
                    >>[/color]
                    >
                    > When you create a date object using year, month and day you may be
                    > trying to create a date outside the range that the browser can handle.
                    > Since you don't know what browser a user may be using, the easiest way
                    > is to test the date you create against the input you created it from
                    > (assuming you've validated that the input was OK in the first place,
                    > that is that the year is a number, month is between 1 and 12 inclusive
                    > and the day date between 1 and 31 inclusive).
                    >
                    > Consider the following function:
                    >
                    > function makeDate(y,m,d) {
                    > var theDate = new Date(y,m-1,d);
                    > return theDate;
                    > }
                    >
                    > Provided we call it with something like:
                    >
                    > alert('The date is ' + makeDate('2003' ,'0','5'));
                    >
                    > we should get an alert telling us the date is 5 January, 2003. In some
                    > browsers, (e.g. Safari) if we use:
                    >
                    > alert('The date is ' + makeDate('1803' ,'0','5'));
                    >
                    > we'll get an error because it can't handle that dates before 1900 or
                    > after 2038 (most other browsers can). So the best way to test is,
                    > after creating our date, to use:
                    >
                    > if(theDate.getM onth() != m || theDate.getDate () != d) {
                    > alert('Can't handle date ' + y +'-' + m + '-' + d);
                    > return false;
                    > } else {
                    > return theDate;
                    > }
                    >
                    > If you want to be really sure, add: || theDate.getFull Year() != y
                    >
                    > However, getFullYear() may not be implemented and rather than messing
                    > around with testing if it is or not, then seeing if the year is less
                    > than 1900 then adding 1900, just don't test the year. The chance that
                    > the month and date will be OK but year incorrect is pretty slim (in
                    > this particular case).
                    >
                    > Having said that, if you are going to use getFullYear(), you must test
                    > that the browser supports it first and if not, use some alternative
                    > (say use getYear() and if it returns a value less than 1900, add 1900).
                    >
                    > For more fun, follow the link in Dr J's signature:
                    >
                    > <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates,
                    > sources.
                    >
                    > --
                    > Rob[/color]

                    Thanks for that! I am learning so much!!

                    KL


                    Comment

                    • Dr John Stockton

                      #11
                      Re: Date Question

                      JRS: In article <04uqd.890$I52. 38096@news.optu s.net.au>, dated Mon, 29
                      Nov 2004 00:29:48, seen in news:comp.lang. javascript, RobG
                      <rgqld@iinet.ne t.auau> posted :[color=blue]
                      >Dr John Stockton wrote:
                      >[..][color=green]
                      >>
                      >> Moreover, note that by reading back (two of) the fields from bDay, you
                      >> can verify the date as being good Gregorian. Be careful, though, with
                      >> historical dates; William Penn's son John "The American", the first by
                      >> his second wife, was born on 1700-02-29. See sig below.
                      >>[/color]
                      >
                      > Yes, I forgot that. It is certainly an issue as different browsers
                      > support different ranges.[/color]

                      If so, they should be sorted into byte order and recycled!

                      The ECMA standard requires a range of 10^8 days, or possibly one less,
                      from 1970-01-01.

                      [color=blue]
                      > I think the consensus was that since getFullYear() is not always
                      > available, checking that the created date object's date and month were
                      > equal to the input date and month was simplest (provided the OP
                      > remembers to add one to the month...).[/color]

                      The following function should return the full year, for all dates and
                      browsers; but I've not tested it browsers-wide :-

                      function getFY(D) { var YE
                      YE = Math.round(D.ge tTime() / 31556952000) + 1970
                      return YE + (D.getYear()-YE)%100 }

                      The principle is that, since the lengths of years do not vary greatly,
                      YE will always be correct within perhaps a day; and that the use of
                      getYear() will put the last two digits of the year correct.

                      --
                      © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME. ©
                      Web <URL:http://www.merlyn.demo n.co.uk/> - FAQish topics, acronyms, & links.
                      Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
                      Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)

                      Comment

                      • Dr John Stockton

                        #12
                        Re: Date Question

                        JRS: In article <41aa9a90@127.0 .0.1>, dated Sun, 28 Nov 2004 21:46:32,
                        seen in news:comp.lang. javascript, KL <klbjornme@aohe ll.com> posted :[color=blue][color=green]
                        >> Dr John Stockton wrote:
                        >> [..][color=darkred]
                        >>>
                        >>> Moreover, note that by reading back (two of) the fields from bDay, you
                        >>> can verify the date as being good Gregorian. Be careful, though, with
                        >>> historical dates; William Penn's son John "The American", the first by
                        >>> his second wife, was born on 1700-02-29. See sig below.[/color][/color][/color]
                        [color=blue]
                        >I remembered about the date offset of 1, but I am lost as to the other
                        >issue. Can you really dumb it down for me?[/color]

                        John Penn was born on the Julian Calendar; and so was everyone born in
                        the British Empire / Colonies before 1752-09-14 Gregorian. The
                        particular date that he chose to appear exists in the Julian Calendar,
                        but not the Gregorian. The javascript date object code treats the
                        Gregorian calendar as valid over the whole range. For Julian calendar
                        methods, see <URL:http://www.merlyn.demo n.co.uk/js-date8.htm#JCDM> .

                        I seek further interesting events of that date, other than the death of
                        Samuel Lathrop.

                        --
                        © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
                        <URL:http://www.jibbering.c om/faq/> JL/RC: FAQ of news:comp.lang. javascript
                        <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
                        <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

                        Comment

                        • Dr John Stockton

                          #13
                          Re: Date Question

                          JRS: In article <gVxqd.897$I52. 38511@news.optu s.net.au>, dated Mon, 29
                          Nov 2004 04:51:24, seen in news:comp.lang. javascript, RobG
                          <rgqld@iinet.ne t.auau> posted :
                          [color=blue]
                          > When you create a date object using year, month and day you may be
                          > trying to create a date outside the range that the browser can handle.
                          > Since you don't know what browser a user may be using, the easiest way
                          > is to test the date you create against the input you created it from
                          > (assuming you've validated that the input was OK in the first place,
                          > that is that the year is a number, month is between 1 and 12 inclusive
                          > and the day date between 1 and 31 inclusive).[/color]

                          I do not believe that the parenthesised validation is needed, at least
                          in a proper browser. One can shovel any old rubbish into new Date(Y, M,
                          D), and it will store NaN unless the stuff converts to a date within
                          range ( > +-200000 years ); if M or D is outside range, a value of
                          milliseconds is stored corresponding to YMD. Date methods return NaN if
                          the object holds NaN; and NaN is unequal to anything, even another NaN.

                          The only caveat concerns entering years 00..99, which may be interpreted
                          as 1900-1999; that makes a difference only for A.D. 0, which for error
                          rectification was not Leap so it's actually right, but A.D. 4 was
                          likewise not Leap --- but for dates before 1582-10-15 one must want the
                          Julian Rules anyway.

                          [color=blue]
                          > Having said that, if you are going to use getFullYear(), you must test
                          > that the browser supports it first and if not, use some alternative
                          > (say use getYear() and if it returns a value less than 1900, add 1900).[/color]

                          Not completely reliable. I have been assured that in at least one
                          system the method getYear will return 4 for the current year -
                          recorded in js-date0.htm#gY - can anyone name such browsers?

                          [color=blue]
                          > <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates,
                          >sources.[/color]


                          --
                          © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME. ©
                          Web <URL:http://www.merlyn.demo n.co.uk/> - w. FAQish topics, links, acronyms
                          PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/> - see 00index.htm
                          Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.

                          Comment

                          • Dr John Stockton

                            #14
                            Re: Date Question

                            JRS: In article <41ab2304@127.0 .0.1>, dated Mon, 29 Nov 2004 07:28:45,
                            seen in news:comp.lang. javascript, KL <klbjornme@aohe ll.com> posted :
                            [color=blue]
                            >Lines: 79[/color]
                            [color=blue]
                            >"RobG" <rgqld@iinet.ne t.auau> wrote in message
                            >news:gVxqd.897 $I52.38511@news .optus.net.au.. .[color=green]
                            >> ...[/color][/color]
                            [color=blue]
                            >
                            >Thanks for that! I am learning so much!![/color]

                            Do, though, learn FAQ section 2.3, including the first part of para 6.

                            --
                            © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
                            <URL:http://www.jibbering.c om/faq/> JL/RC: FAQ of news:comp.lang. javascript
                            <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
                            <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

                            Comment

                            • Dr John Stockton

                              #15
                              Re: Date Question

                              JRS: In article <gVxqd.897$I52. 38511@news.optu s.net.au>, dated Mon, 29
                              Nov 2004 04:51:24, seen in news:comp.lang. javascript, RobG
                              <rgqld@iinet.ne t.auau> posted :
                              [color=blue]
                              >In some
                              > browsers, (e.g. Safari) if we use:
                              >
                              > alert('The date is ' + makeDate('1803' ,'0','5'));
                              >
                              > we'll get an error because it can't handle that dates before 1900 or
                              > after 2038 (most other browsers can).[/color]


                              In IE4, the following test code, executed (in my js-quick.htm), shows
                              (without perceptible delay)

                              863999999999999 0 Sat Sep 13 00:59:59 UTC+0100 275760
                              -863999999999999 0 Tue Apr 20 01:00:00 UTC+0100 271822 B.C.

                              What do other browsers give? Do any fail?

                              B1 = 0 ; B2 = +1e20
                              do { T = (B1+B2)/2
                              isNaN(new Date(T)) ? B2 = T : B1 = T } while (B2-B1>50)
                              document.write( T, ' ', new Date(T))
                              document.write( '<br>')
                              B1 = 0 ; B2 = -1e20
                              do { T = (B1+B2)/2
                              isNaN(new Date(T)) ? B2 = T : B1 = T } while (B1-B2>50)
                              document.write( T, ' ', new Date(T))


                              The 2038 limitation is presumably to 2038-01-19 Tue 03:14:07 GMT which
                              is 1970-01-01 + 2^31 - 1 ms.

                              But 1970-01-01 - 2^31 ms is 1901-12-13 Fri 20:45:52 GMT, which suggests
                              that your statement may be under-pessimistic.

                              Given the possible use of script to calculate 30-year mortgages, failure
                              for 2038 could bite fairly soon.

                              --
                              © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME. ©
                              Web <URL:http://www.merlyn.demo n.co.uk/> - w. FAQish topics, links, acronyms
                              PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/> - see 00index.htm
                              Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.

                              Comment

                              Working...