php/mysql: database of bank holidays and events li

2019-05-16 21:49发布

Im working on a simple calendar application and i want to have the above events display on the calendar [bank holidays and that].

The calendar is just a standard month view, with a link to view each day for each day in the month, and links to view next/ previous month and year etc...

i will probably have the mktime for each event stored, and if today == mktime then display it on the calendar [or something similar], but where can i get these dates from?

Any suggestions ??

1条回答
霸刀☆藐视天下
2楼-- · 2019-05-16 22:42

http://pear.php.net/package/Date_Holidays has support for calculating holiday dates for a number of countries, inc UK, US, DE and others. see the example

查看更多
登录 后发表回答