Last data update: 2014.03.03

R: function for getting year and month of a timestamp
wp_yearmonthR Documentation

function for getting year and month of a timestamp

Description

function for getting year and month of a timestamp

Usage

wp_yearmonth(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.

Results