SELECT news_id, title, description, MONTH(FROM_UNIXTIME(date)) AS readableDate FROM re_news WHERE YEAR(FROM_UNIXTIME(date)) = MAX(YEAR(FROM_UNIXTIME(date))) There is a SQL query, you need to select the news with the largest year, for example, all the news for the last year is sql. But this query works.
SELECT news_id, title, description, MONTH(FROM_UNIXTIME(date)) AS readableDate FROM re_news WHERE YEAR(FROM_UNIXTIME(date)) = 2018
WHERE YEAR(FROM_UNIXTIME(date)) = (SELECT MAX(YEAR(FROM_UNIXTIME(date))) FROM re_news)- Akina