re sunrise sunset times in article r f a ai news umbc edu rouben math math umbc edu rouben rostamian writes hello i am looking for a program or algorithm that can be used to compute sunrise and sunset times here is a computation i did a long time ago that computes the length of the daylight you should be able to convert the information here to sunrise and sunset times sorry not so the changes in sunrise and sunset times are not quite synchronized for example neither the earliest sunrise nor the latest sunset comes on the longest day of the year you can derive day length from sunrise and sunset times but not vice versa
