Description Usage Arguments Value Author(s) Examples
Calculates solar time at a given location, given the clock time
1 | solartime(localtime, lat, lon, merid = 0, dst = 0, day)
|
localtime |
Local clock time, in hours from midnight |
lat |
Latitude, in degrees |
lon |
Longitude, in degrees |
merid |
Longitude of local standard time meridian, in degrees east from Greenwich. The default (0) corresponds to the Greenwich mean time meridian; for Central European time (most of Western Europe except UK, Eire and Portugal), use merid = 15. |
dst |
Local adjustment for summertime. For countries which advance their clocks in spring, this is 1 during the summer and 0 in winter. |
day |
Day of the year (1 to 365) |
Vector of local solar time, in hours from midnight.
Jon Bennie
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.