i want to retrieve server date. how it should be retrieved using SQL server may be using Stored procedure .
function would give you current date and time. use SELECT getdate()
thank u it is working
Hi Tejas, Here's a link on frequently asked questions about dates in SQL Server, which contains your question: http://www.sql-server-helper.com/faq/dates-p01.aspx