Convert time string to DateTime in c#

Viewed 27088

How can I get a DateTime based on a string

e.g: if I have mytime = "14:00"

How can I get a DateTime object with current date as the date, unless current time already 14:00:01, then the date should be the next day.

4 Answers
Related