Problem with the date counter on my website

Discussion in 'HTML & Website Design' started by MindReality, Aug 2, 2009.

  1. #1
    Hi,

    There is a problem with the date on my website when it is view with Firefox.

    This is the page:
    http://www.MindPowerSecretsPackage.com

    The date after the name Tom Hathaway says 19109 in Firefox.

    But in Internet Explorer, it says 2009.

    May I know what is the reason why this is so, and how to correct the code so that it displays the proper date in Firefox as well?
     
    MindReality, Aug 2, 2009 IP
  2. miles2go

    miles2go Peon

    Messages:
    567
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I would suggest better use statcounter it great
     
    miles2go, Aug 3, 2009 IP
  3. KentX

    KentX Member

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    I have looked at your code, don't use "hoje.getYear()", instead you should use "hoje.getFullYear()". This is because Firefox tends to recognize the year after 2000 as more than 100 (e.g. Year 1999 = 99, Year 2000 = 100, Year 2009 = 109). This may be due to the valid time settings in our computer.

    Try to modify your code as follows:

     
    KentX, Aug 5, 2009 IP