How to determine daylight hours

How to determine daylight hours