% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/timezone.R
\name{tz_transitions}
\alias{tz_transitions}
\title{Get timezone transitions}
\usage{
tz_transitions(start, end)
}
\arguments{
\item{start}{A POSIXct datetime object or something coercible to POSIXct,
representing the start of the time range. The timezone is extracted from this object.}

\item{end}{A POSIXct datetime object or something coercible to POSIXct,
representing the end of the time range.}
}
\value{
A data frame containing information about timezone transitions
in the specified range.
}
\description{
Returns all timezone transitions (e.g., daylight saving time changes) that
occur between two datetimes. The timezone is taken from the start datetime.
}
\examples{
# Get all DST transitions in 2024 for New York
tz_transitions(
  as.POSIXct("2024-01-01", tz = "America/New_York"),
  as.POSIXct("2024-12-31", tz = "America/New_York")
)

}
