Reputation: 117
How can I convert this string, 12:00 AM, into a DateTime?
12:00 AM
Upvotes: 0
Views: 430
Reputation: 78282
DateTime.Parse("12:00AM");
NOTE:
The date part will be the current date.
Upvotes: 1