M
M O J O
Hi,
How do I store only the time part in a sql server datetime field?
I've tried using ....
Params.Add("@MyField", SqlDbType.DateTime, DateTime.Parse("00:05:00"))
.... but it stores this value "01-09-2004 00:05:00".
I want to store "00:05:00".
Any idea???
Thanks!!!
M O J O
How do I store only the time part in a sql server datetime field?
I've tried using ....
Params.Add("@MyField", SqlDbType.DateTime, DateTime.Parse("00:05:00"))
.... but it stores this value "01-09-2004 00:05:00".
I want to store "00:05:00".
Any idea???
Thanks!!!
M O J O