views:

136

answers:

1

What is the best way to convert a string to DateTime?

The format of the string is dd/mm/yyyy hh:mm:ss.

Thanks a lot, Vincent

+2  A: 

Have you considered Date.parse() (doc here)