|
-
May 8th, 2013, 11:39 AM
#1
Thread Starter
Member
[RESOLVED] Time Stamp / Storage of Time in DB
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|