Skip to contents

Format any month name to three letter code

Usage

format_months(months)

Arguments

months

character string or vector. The name of the month

Value

a character string. The three letter name of the month

Examples

  format_months("January")
#> [1] "Jan"