title: str_replace time from datetime
body: <p>I use datetime function and there is everything fine with that. Is there possible to cut off time and show only date?</p>
  
  <p>For example I have 2015/01/20 08:00 and there should be: 2015/01/20.</p>
  
  <p>The problem is, that value isn't static. Please do not offer use only date function, I need to solve it with datetime.</p>