Does anyone know how to return a date the sql query analyser like (Aug 2, 2004)
Right now, the following statement returns (Aug 2, 2004 8:40PM). This is now good because I need to do a specific date search that doesn't include the time.
Many thanks in advance!!
Brad
--------------
declare @.today DateTime
Select @.today = GetDate()
print @.todaylook at the Convert function...something like...
|||Heres a tutorial that I thought was helpful
select convert(varchar, getdate(), 6)
http://www.easerve.com/developer/tutorials/asp-net-tutorials-dates.aspx
No comments:
Post a Comment