Skip to contents

Converts Feb 29 to Feb 28th

Usage

dtt_feb29_to_28(x)

Arguments

x

A Date or POSIXct vector.

Value

The modified Date or POSIXct vector.

See also

Other leap year: dtt_leap_year()

Examples

dtt_feb29_to_28(as.Date("2004-02-29"))
#> [1] "2004-02-28"