Skip to contents

While reading excel files dates are sometimes replaced by their numeric codes. This function recovers original dates from these codes.

Usage

excel2date(x)

Arguments

x

the vector of numeric date codes

Value

the date

Examples

excel2date(12345)
#> [1] "1933-10-18"