parse_date_arguments: Function to parse date arguments for other functions.

View source: R/parse_date_arguments.R

parse_date_argumentsR Documentation

Function to parse date arguments for other functions.

Description

Function to parse date arguments for other functions.

Usage

parse_date_arguments(date, type, tz = "UTC", quiet = FALSE)

Arguments

date

Date string to be parsed.

type

Type of date: "start" or "end".

tz

Time-zone, defaults to "UTC".

quiet

Should the date parser be quiet and not raise warnings when dates cannot be passed?

Value

POSIXct vector with length of 1.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.