Using location is more accurate as depending on how far away from the equator you are light levels can change drastically.
This covers some of the details around it: http://www.ccfg.org.uk/conferences/downloads/P_Burgess.pdf
This covers some of the details around it: http://www.ccfg.org.uk/conferences/downloads/P_Burgess.pdf