Documentation

PASun.php

Table of Contents

Functions

approximate_position_of_sun()  : mixed
Calculate approximate position of the sun for a local date and time.
precise_position_of_sun()  : mixed
Calculate precise position of the sun for a local date and time.
sun_distance_and_angular_size()  : mixed
Calculate distance to the Sun (in km), and angular size.
sunrise_and_sunset()  : mixed
Calculate local sunrise and sunset.
morning_and_evening_twilight()  : mixed
Calculate times of morning and evening twilight.
equation_of_time()  : mixed
Calculate the equation of time. (The difference between the real Sun time and the mean Sun time.)
solar_elongation()  : mixed
Calculate solar elongation for a celestial body.

Functions

approximate_position_of_sun()

Calculate approximate position of the sun for a local date and time.

approximate_position_of_sun(mixed $lctHours, mixed $lctMinutes, mixed $lctSeconds, mixed $localDay, mixed $localMonth, mixed $localYear, mixed $isDaylightSaving, mixed $zoneCorrection) : mixed
Parameters
$lctHours : mixed
$lctMinutes : mixed
$lctSeconds : mixed
$localDay : mixed
$localMonth : mixed
$localYear : mixed
$isDaylightSaving : mixed
$zoneCorrection : mixed

precise_position_of_sun()

Calculate precise position of the sun for a local date and time.

precise_position_of_sun(mixed $lctHours, mixed $lctMinutes, mixed $lctSeconds, mixed $localDay, mixed $localMonth, mixed $localYear, mixed $isDaylightSaving, mixed $zoneCorrection) : mixed
Parameters
$lctHours : mixed
$lctMinutes : mixed
$lctSeconds : mixed
$localDay : mixed
$localMonth : mixed
$localYear : mixed
$isDaylightSaving : mixed
$zoneCorrection : mixed

sun_distance_and_angular_size()

Calculate distance to the Sun (in km), and angular size.

sun_distance_and_angular_size(mixed $lctHours, mixed $lctMinutes, mixed $lctSeconds, mixed $localDay, mixed $localMonth, mixed $localYear, mixed $isDaylightSaving, mixed $zoneCorrection) : mixed
Parameters
$lctHours : mixed
$lctMinutes : mixed
$lctSeconds : mixed
$localDay : mixed
$localMonth : mixed
$localYear : mixed
$isDaylightSaving : mixed
$zoneCorrection : mixed

sunrise_and_sunset()

Calculate local sunrise and sunset.

sunrise_and_sunset(mixed $localDay, mixed $localMonth, mixed $localYear, mixed $isDaylightSaving, mixed $zoneCorrection, mixed $geographicalLongDeg, mixed $geographicalLatDeg) : mixed
Parameters
$localDay : mixed
$localMonth : mixed
$localYear : mixed
$isDaylightSaving : mixed
$zoneCorrection : mixed
$geographicalLongDeg : mixed
$geographicalLatDeg : mixed

morning_and_evening_twilight()

Calculate times of morning and evening twilight.

morning_and_evening_twilight(mixed $localDay, mixed $localMonth, mixed $localYear, mixed $isDaylightSaving, mixed $zoneCorrection, mixed $geographicalLongDeg, mixed $geographicalLatDeg, mixed $twilightType) : mixed
Parameters
$localDay : mixed
$localMonth : mixed
$localYear : mixed
$isDaylightSaving : mixed
$zoneCorrection : mixed
$geographicalLongDeg : mixed
$geographicalLatDeg : mixed
$twilightType : mixed

equation_of_time()

Calculate the equation of time. (The difference between the real Sun time and the mean Sun time.)

equation_of_time(mixed $gwdateDay, mixed $gwdateMonth, mixed $gwdateYear) : mixed
Parameters
$gwdateDay : mixed
$gwdateMonth : mixed
$gwdateYear : mixed

solar_elongation()

Calculate solar elongation for a celestial body.

solar_elongation(mixed $raHour, mixed $raMin, mixed $raSec, mixed $decDeg, mixed $decMin, mixed $decSec, mixed $gwdateDay, mixed $gwdateMonth, mixed $gwdateYear) : mixed
Parameters
$raHour : mixed
$raMin : mixed
$raSec : mixed
$decDeg : mixed
$decMin : mixed
$decSec : mixed
$gwdateDay : mixed
$gwdateMonth : mixed
$gwdateYear : mixed
On this page

Search results