day: Convert dates to day 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

day

Day of month for the input object

Author(s)

Matti Pastell <matti.pastell@helsinki.fi>

See Also

week, day.string, hour, month

Examples

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

Animal documentation built on May 2, 2019, 5:48 p.m.