Short time

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I can convert time into string using ToShortTimeString. How can I convert a
strings like "01:00 pm" or "13:00" to time?

Thanks

Regards
 
Use "DateTime.Parse"

Every data type will have a Parse method that will help you convert a string
to that DataType

VJ
 
Hi John,

In the sample about binding you find the conversion to a single date, have
yourself a look for the other maskers.

Cor
 
Back
Top