Learn R Programming

dateutils (version 0.1.5)

day: Return the day of a Date value

Description

Return the day of a Date value as an integer

Usage

day(date)

Arguments

date

date value formated as.Date()

Value

the day of the date (integer)

Examples

Run this code
# NOT RUN {
day(as.Date("2019-09-15")) ## 15
# }

Run the code above in your browser using DataLab