Learn R Programming

suntools (version 1.1.0)

dls_correction: Correct for daylight savings day length change

Description

helper function for identifying days and timezones affected by daylight savings time

Usage

dls_correction(dateTime, lat)

Value

correction in seconds for longer/shorter daylength

Arguments

dateTime

a POSIXct time.

lat

a latitude in decimal degrees