Monday, March 26, 2012

Server Time

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" <hak1lin@.swiftdsl.com.au> wrote in message
news:uqVuzTesEHA.2548@.TK2MSFTNGP11.phx.gbl...

> 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

0 comments:

Post a Comment