WLJS LogoWLJS Notebook

SunPosition

SunPosition[] gives the position of the Sun for the current date and location.

  • SunPosition[datespec] gives the position of the Sun for the specified date.
  • SunPosition[locationspec] gives the positions of the Sun for the specified location.
  • SunPosition[locationspec, datespec] gives the position of the Sun for the specified date and location.
  • SunPosition[{{location1, date1}, {location2, date2}, …}] gives the positions of the Sun for all specified locations on the specified dates.
  • SunPosition[locationspec, datespec, func] uses func to determine what to return for extended locations.

Examples

SunPosition[]

Please visit the official Wolfram Language Reference for more details.

On this page