title: date input from file and output conversion to file
body: <p>I have a file of dates in format yyyy-mm-dd  eg 1988-12-27</p>
  
  <p>I want to read from this file and out the corresponding dates in format eg. 27th December,1988 to another file.</p>
  
  <p>this is the sample code that does the conversion: I'm left with the reading from file and outputing it to another file. Thanks</p>
  
  <pre><code>$input     = '1988-12-27';
  $timestamp = strtotime($input);
  $output    = date('dS F, Y', $timestamp);
  echo $output;
  </code></pre>