month: Convert dates to month numbers

Description Arguments Value Author(s) See Also Examples

Description

This function extracts the day of month from date objects

Arguments

x

A POSIXt object

Value

month

Month number of the input object

Author(s)

Matti Pastell <matti.pastell@helsinki.fi>

See Also

day, day.string, hour,week

Examples

1
2
3
date <- Sys.time()
month.number <- month(date)
print(month)


Search within the Animal package
Search all R packages, documentation and source code

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.