Web Analytics Made Easy -
StatCounter Date problem... - CodingForum

Announcement

Collapse
No announcement yet.

Date problem...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Date problem...

    dear,

    when i write asp coding regarding "DATE", it will follow Client PC Date Regional Setting, if they choose dd/mm/yyyy, but my setting is mm/dd/yyyy, then the error will come out.... so wwhat suppose to do, i cannot force all the global ppl to set the same format like mine?? right... how u all overcome this problem????
    Thanks.
    =====================================================
    From NinjaTurtle
    ++http://ohmygoh.blogspot.com|http://technology.ohmygoh.com++

  • #2
    it's supposed to follow the settings in the server since server-side code has no access to client-side's date settings.
    maybe you're running the page in the server's browser, aren't you? If so, try running it on another PC, not on the server.
    Glenn
    vBulletin Mods That Rock!

    Comment


    • #3
      yup, i try to do at the localhost first, then only i FTP to server, but when i ftp to server it run smoothly... Y????
      Thanks.
      =====================================================
      From NinjaTurtle
      ++http://ohmygoh.blogspot.com|http://technology.ohmygoh.com++

      Comment


      • #4
        as i said it follows the regional settings on the Web server, not the client unless you're running the page on the server itself.

        Originally posted by NinjaTurtle
        yup, i try to do at the localhost first, then only i FTP to server, but when i ftp to server it run smoothly... Y????
        Glenn
        vBulletin Mods That Rock!

        Comment

        Working...
        X