Description Usage Arguments Value Note Author(s) Examples
Calculate time of sunrise/sunset for a given location and time of the year
1 2 |
day |
integer indicating day of month |
month |
integer indicating month number |
year |
integer indicating year |
longitude |
longitude in "decimal" degrees |
latitude |
latitude in "decimal" degrees |
zenith |
zenith in degrees |
number, time in hours
The algorithm was taken from:
Note, however, that this function calculates the value of the sunrise in local mean time (solar time), not UTC.
See maptools to calculate sunrise/sunset in UTC/GMT ("clock" time).
Jacob van Etten
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.