Server Time

Discussion in 'ASP .Net' started by lhak, Oct 14, 2004.

  1. lhak

    lhak Guest

    Hi,

    Can anyone please tell me how I can get the date and time of the Server (eg
    Server where SQL Database resides) to display on the ASP.NET page?.

    Thanks
    LH
     
    lhak, Oct 14, 2004
    #1
    1. Advertising

  2. lhak

    Mark Rae Guest

    "lhak" <> wrote in message
    news:...

    > Can anyone please tell me how I can get the date and time of the Server
    > (eg
    > Server where SQL Database resides) to display on the ASP.NET page?.


    Dead easy in the case of SQL Server because you can just read "SELECT
    getdate()" into an SqlDataReader
     
    Mark Rae, Oct 14, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. engsol
    Replies:
    2
    Views:
    993
    Dan Bishop
    Jan 26, 2004
  2. Replies:
    8
    Views:
    505
    Magnus Lycka
    Aug 5, 2005
  3. Peter Hansen
    Replies:
    0
    Views:
    735
    Peter Hansen
    Feb 22, 2006
  4. Peter Hansen
    Replies:
    0
    Views:
    630
    Peter Hansen
    Feb 22, 2006
  5. flamesrock
    Replies:
    8
    Views:
    551
    Hendrik van Rooyen
    Nov 24, 2006
Loading...

Share This Page