R/getMonth.R

#' Gets month from a date
#'
#' Gets month from a date, has to be Date class
#' @param Date Date class object.
#' @keywords month
#' @export
#' @example inst/examples/getMonth.R

getMonth <- function(Date) {
  Month <- format(Date, "%b-%Y")
  return(Month)
}
Braja93/braja documentation built on May 6, 2019, 12:07 a.m.