Length of sunlight using a lux sensor?

I would like to count how much time the sun shines all day. I have a BH1750 sensor, but I can't calculate 100% too much sunlight with that. During the day I will reach 54613 lux, but even though it is now clear, the sun will set in an hour, so lux is only 2423.

Has anyone tried it yet?

For informed help, please read and follow the directions in the "How to use the forum" post.