1. No Profile Picture
    Contributing User
    ASP Discoverer (100 - 499 posts)

    Join Date
    Jan 2007
    Rep Power

    System Date from Server or Local PC

    May I know whether the now() will retrieve the system date or local pc's date?

    The ASP application is resided in 1 server and the database server is resided on another server. So from which server will the now() retrieve the date or will it retrieve from client's pc?

  2. #2
  3. No Profile Picture
    Grumpier Old Moderator
    ASP Mastermind (5000+ posts)

    Join Date
    Sep 2003
    Rep Power
    If you are using now() within server-side code, it will return the server date/time. If you happen to be using client-side vbscript, now() will return the client browser date/time.

    Since you mentioned databases, if you use any db date/time functions like getdate in sql server, you'll get the date/time of the computer running the dbms program.
    Doug G
    I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Similar Threads

  1. Difference between MS Access and SQL Server
    By norml318 in forum Microsoft Access Help
    Replies: 1
    Last Post: February 17th, 2006, 05:32 PM
  2. Replies: 2
    Last Post: September 22nd, 2004, 12:54 PM
  3. System not recognizing date input
    By Michael Lester in forum Microsoft Access Help
    Replies: 1
    Last Post: September 15th, 2004, 11:25 PM
  4. Insrting date in SQL server database through ASP
    By zerokoool in forum ASP Development
    Replies: 1
    Last Post: December 26th, 2003, 11:39 AM
  5. ASP, VB, SQL Server, Cold Fusion, COM
    By Steve Schofield in forum Programmers for Hire
    Replies: 0
    Last Post: June 29th, 2000, 02:07 AM

IMN logo majestic logo threadwatch logo seochat tools logo