title: how to get boost::posix_time::ptime from formatted string
body: <p>I have a formated string like "2012-03-28T08:00:00".
  i want to get year, month(in string format),date,hour, min ,sec and day (in string format).
  can any one suggest me the easiest way to do it in boost.</p>
  
  <p>thanks</p>