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