function for getting year and month of a timestamp

Share:

Description

function for getting year and month of a timestamp

Usage

1

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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.