Learn R Programming

stochLAB (version 1.1.2)

format_months: Format any month name to three letter code

Description

Format any month name to three letter code

Usage

format_months(months)

Value

a character string. The three letter name of the month

Arguments

months

character string or vector. The name of the month

Examples

Run this code
  format_months("January")

Run the code above in your browser using DataLab