Results 1 to 4 of 4

Thread: Who is the Fastest to Answer This?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216

    Talking

    How does one check a server's system date instead of checking the client's system date in .ASP?

    I realize Now() checks the client's system date but I need to base my application off of the server it is running on.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Now in ASP does return the servers date/time.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216

    Talking

    Duh! I should have realized that!

    You won the prize for being the fastest!

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    wheee.What do I win?

    Remember the basics. In asp all functions run on the server and produce the html and THEN sends the resulting html to the client. If NOw in ASP got the clients time, it would not work for Netscape or non windows systems viewing the page.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width