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
 General SQL Server Forums
 New to SQL Server Programming
 Date and Time Format

Author  Topic 

android.sm
Starting Member

36 Posts

Posted - 2010-10-08 : 10:02:42
In my database table i have a column with the data type: date - which accepts a value like 2010-01-08.

However - in my app the value looks like: 2010-01-08: 00:00:00

How can I remove the time?

Thanks...

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-10-08 : 10:04:54
If the data type is date then you are using SQL Server 2008.
There is no time part in that data type.
The issue is inside your app.



No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

android.sm
Starting Member

36 Posts

Posted - 2010-10-08 : 10:28:47
oh right - thanks for that. i am using 2008.

i guess it will have to be formatted in the app, if that is possible!
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-10-08 : 10:43:34
welcome


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -