f_as_date: Convert string to date.

View source: R/f - As date.R

f_as_dateR Documentation

Convert string to date.

Usage

f_as_date(v.input, c.format = "%d/%m/%Y", c.origin = "1899-12-30")

Arguments

v.input

Vector with strings to be converted.

c.format

Format of date in the strings (default: "

\item

c.originStarting date (default: "1899-12-30")

Vector with dates. Converts a string to a date. - v.output <- f_as_date( v.input = c("16/03/2022", "16/03/2022", "16/03/2022"), c.format = "%d/%m/%Y", c.origin = "1899-12-30" ) Pieter Overdevest


pieterov/generaltoolbox documentation built on Jan. 25, 2025, 10:32 a.m.