split_date_range: Split dates that are in the form of start_date - end_date.

View source: R/utils.R

split_date_rangeR Documentation

Split dates that are in the form of start_date - end_date.

Description

Split dates that are in the form of start_date - end_date.

Usage

split_date_range(s)

Arguments

s

A character vector representing the combined date.

Value

Two character vectors representing the first and second date, respectively.

Examples

## Not run: 
split_date_range("2024_01_01 - 2024_01_02")
     [,1]          [,2]
[1,] "2024_01_01 " " 2024_01_02"

## End(Not run)

steveneschrich/pgreportr documentation built on Jan. 13, 2025, 7:09 p.m.