dls_correction: Correct for daylight savings day length change

View source: R/sun.R

dls_correctionR Documentation

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)

Arguments

dateTime

a POSIXct time.

lat

a latitude in decimal degrees

Value

correction in seconds for longer/shorter daylength


suntools documentation built on Nov. 7, 2025, 9:07 a.m.