I have a file of dates in format yyyy-mm-dd eg 1988-12-27

I want to read from this file and out the corresponding dates in format eg. 27th December,1988 to another file.

this is the sample code that does the conversion: I'm left with the reading from file and outputing it to another file. Thanks

```
$input     = '1988-12-27';
$timestamp = strtotime($input);
$output    = date('dS F, Y', $timestamp);
echo $output;

```