Hello all
I Am storing time in a SQL db and right now the time is stored in HH.MM.SS
I would like to only store the HH.MM.
I know how to use the following to string
DateTime.Now.ToString("MM/dd/yyyy hh:mm tt")
but I am not storing in in String I storing in in a time field.
I guess All i need to do is change the seconds to 00.
ie 17:39:47 changed to 17:39:00
Thanks
I Am storing time in a SQL db and right now the time is stored in HH.MM.SS
I would like to only store the HH.MM.
I know how to use the following to string
DateTime.Now.ToString("MM/dd/yyyy hh:mm tt")
but I am not storing in in String I storing in in a time field.
I guess All i need to do is change the seconds to 00.
ie 17:39:47 changed to 17:39:00
Thanks