PHP gets all the dates in a period of time/PHP gets the date list
To access the "Today in History" of Wikipedia, you need a date table from January 1 to December 31, so there is the following code
Timestamp conversion Recommend this gadget: https://nowtool.cn/unixtime