Make.UTC: Resolve time zones as requested by user and UTC format with...

View source: R/Temporal.R

Make.UTCR Documentation

Resolve time zones as requested by user and UTC format with which to query from CDS

Description

Create UTC counterparts of user-input dates for CDS queries

Usage

Make.UTC(DatesVec = NULL)

Arguments

DatesVec

A vector of POSIXct objects

Value

A data frame on input dates respective to user-queried timezone and their UTC counterparts.

Examples

IN_DateStart <- as.POSIXct("1995-01-01 00:00", tz = "CET")
IN_DateStop <- as.POSIXct("2005-01-01 23:00", tz = "CET")
Dates_df <- Make.UTC(DatesVec = c(IN_DateStart, IN_DateStop))
Dates_df


ErikKusch/KrigR documentation built on Feb. 17, 2025, 2:09 p.m.