Function to extract the month from a timestamp of e.g. class POSIXlt,
POSIXct, Date, or character. If the option is of type character it should be
in the form of yyyy-mm-dd.
Usage
wp_month(timestamp)
# S3 method for POSIXlt
wp_month(timestamp)
# S3 method for default
wp_month(timestamp)
Arguments
timestamp
Some sort of timestamp e.g. of class POSIXlt, POSIXct, Date,
or character. If the option is of type character it should be in the form
of yyyy-mm-dd.