How to insert time in SQl Server 2005?
I am creating a windows application. In this I have to subtract two dates. I subtract it successfully, I used TimeSpan to get the subtracted value. But when I insert it into SQl Server 2005 db, it is inserted with start date i.e. 1/1/1900 and estimated difference
What format should I use to insert only time?
Thanks in advance
+2
a source to share
2 answers