RSS page, topic created 1.1.1970

For some reason, the creation date is displayed as 1970. 🙂 Although the database says

Here is the code

echo "<?xml version=\"1.0\" encoding=\"windows-1251\"?>
<rss version=\"2.0\">
<title>    </title>
<description>             </description>
echo "<item>".

Answer 1, authority 100%

Apparently, $myrow['date']is not a Unix time and is therefore 0.

Try or modify the request

SELECT *, UNIX_TIMESTAMP(date) as udate

and output date("r",$myrow['udate'])

Or translate already in the code:

date('r', strtotime($myrow['date']))