is the date the only thing in that file or is there other stuff that you want to keep? when you say "correct day" i assume you mean the current date. anyway, here's the basic idea:
$handle = fopen('/path/to/date.html', 'w');
fwrite($handle, date('Y-m-d'));
fclose($handle)
this would overwrite the file with the current date. if there is other stuff you wish to keep then you would have to parse the contents first to locate the old date.