Returns the time of the specified sun calculation on the specified date.
Syntax
ph_getsuntime ( dt, type )
Argument
Description
dt
The date that you wish to retrieve the sun time for.
type
The type of sun calculation you wish returned. Use 1 for Sunrise, 2 for Sunset, 3 for Dawn (start of civil twilight), and 4 for Dusk (end of civil twilight).
Return value
Time. The time of the specified sun calculation for the specified date.