Function to extract the day

Description

Function to extract the day 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

1
2
3
4
5
6
7
wp_day(timestamp)

## S3 method for class 'POSIXlt'
wp_day(timestamp)

## Default S3 method:
wp_day(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.

Methods (by class)

  • POSIXlt: extract day from timestamp

  • default: extract day from timestamp


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.