the web application take Date formate different thanserver date format.

Discussion in 'ASP' started by ali80_dh, Jan 2, 2008.

  1. ali80_dh

    ali80_dh New Member

    Joined:
    Dec 24, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    i use an ASP web application made using ASP ,the problem is that the web page take the date&time format of user workstation not the server format, so i want to make all user take the server date&time format.
     
  2. ali80_dh

    ali80_dh New Member

    Joined:
    Dec 24, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Plzzzzz help me
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Moved to ASP forum for better responses.
     
  4. urstop

    urstop New Member

    Joined:
    Oct 17, 2007
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    0
    Could you paste the piece of code. From what it looks, you are using client side javascript to display the data and since this is being executed on the client side, it will use the client date/time and settings.

    You will have to get the date on the server side and assign it to a client side variable and then use it.
     
  5. ali80_dh

    ali80_dh New Member

    Joined:
    Dec 24, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    now the database stores date formate in wrong way.instead of stores date format in one formate.
    ex.if i creat ticket on server the the open date stored as server date format,when this ticket opened on user workstation with differant date format,and add action ,the action date will stored in database in user workstation format.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice