right, that code will be needed on the archive page, but is causing the issue on the latest-news.php page where it is not needed.
also, the recordset is correct for the archive page, but you cannot reuse it for the news item page to get the current date. you need to change the recordset to what i suggested on the news item page.
the code Ray gave in your support incident is correct for the pages that he applied it to, it was designed for the specific needs of the page it was created for, which was the archive page.
the latest news, and news items pages, have different needs, so the code will need to be a little different.
The right tool for the right job.