Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 dateformat in sql2005

Author  Topic 

desikankannan
Posting Yak Master

152 Posts

Posted - 2010-03-03 : 02:04:52
iam using sql 2005 ,in my date field the value storing like
10/02/2010 00:00:00

but i want to show only 10/02/2010 in front end screen


if any dateformat function ?

looking forward ur reply

Regards
Kannan.d


Desikankannan

Sachin.Nand

2937 Posts

Posted - 2010-03-03 : 02:08:24
Well u can do it in frontend.If using .Net use YourDatefield.ToString("dd/MM/yyyy")

PBUH
Go to Top of Page

bklr
Master Smack Fu Yak Hacker

1693 Posts

Posted - 2010-03-03 : 02:08:31
go through this links

http://www.sql-server-helper.com/tips/date-formats.aspx
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=80563

u can date formating in frontend application
Go to Top of Page
   

- Advertisement -