title: Date String to pretty display format using PHP
body: <p>In a database the date is stored like this <code>20171127</code> which is todays date. Unfortunately I cannot change the way the date is stored in the database.
  Can I convert this string to a nice format? The excepted output is <code>27. November 2017</code>. </p>
  
  <p>I already looked at <a href="http://php.net/manual/de/function.strtotime.php" rel="nofollow noreferrer">strtotime</a> and <a href="http://php.net/manual/de/function.strftime.php" rel="nofollow noreferrer">strftime</a> but there is no way to parse a string like I got.</p>