Posts by Samuel Rocha • 13 points
1 post
-
1
votes1
answer133
viewsQ: Convert string to Datetime with . Parseexact()
I am trying to receive a string typed by the user in the format "dd/MM/yyyy hh:mm", but whenever I use a date above 12:59 the following error occurs: System.Formatexception: 'String '25/06/2018…