Skip to contents

Convert Excel character date representation to a Date

Usage

excel_date(.x)

Arguments

.x

chr representation of Dates from Excel, usually a 5 digit number

Value

Date

Examples

excel_date(c("44567", "44568"))
#> [1] "2022-01-06" "2022-01-07"