How can I convert a string into a date object and get year, month and day separately?
Asked 2012-09-14T18:49:01.013
44
If I have lets say this string "2008-12-12 19:21:10" how can I convert it into a date and get the year, month and day from that created object separately?