day {Animal}R Documentation

Convert dates to day numbers

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

date <- Sys.time()
day.number <- day(date)
print(day.number)

[Package Animal version 1.01 Index]