How to insert time in SQl Derver 2005?

Posted by sam on Stack Overflow See other posts from Stack Overflow or by sam
Published on 2010-05-07T06:06:59Z Indexed on 2010/05/07 6:18 UTC
Read the original article Hit count: 176

Filed under:
|

i am creating windows application .In this i have to subtract two dates .i subtract it successfully ,i used TimeSpan to get subtracted value.But when i insert it in SQl Server 2005 db, it inserted with starting date i.e. 1/1/1900 and the calculated difference

which format should i use to insert Time only?

Thanks in advance

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql-server-2005