How to tag opening hours as “daylight hours”?

A park says “Open to the public for free during daylight hours only”. Would I tag it as sunrise-sunset?

Yes, see Key:opening_hours - OpenStreetMap Wiki