I have created drop down list that has populated 30 minutes interval from 8:00 am 9:00 pm. It is something like this 8:00am, 8:30 am, 9:00 am, 9:30 am, ......, 12:30 pm, etc. When user select any of this hh:mm from drop down list and save it in MS Sql as hh:mm. I created a table and it has a column called SendTime. Datatype is set up as Time(7). Is it correct way to do. Now, my question is how to define this data as hours and minutes in c# code so that I can save them in sql. Any help is appreciated.
Same thing also applies to Calendar. I have a calendar. I know how to get only date format (dd/mm/yyyy), but I do not know how to get only date (dd/mm/yyyy) is saved in MS sql.
Please help. Thank