calculate sunrise

Hi,

I am looking for a component that calculates sunrise an dawn.
Anyone ever seen such a component?

Thanks,

Frank Vermeij