title: How do I separate the date from the string
body: <p><code>This is a string 2011-11-09 00:00:00</code>
  So now how do I separate the date i.e. 2011-11-09 from the string, I dont want to use the slicing here if anyone has better options or ideas please let me know.. </p>