Last data update: 2014.03.03

R: Date Floor
DfloorR Documentation

Date Floor

Description

Date Floor in a Dating

Usage

Dfloor(dte, dating=Daily)

Arguments

dte

a Date or POSIXt object

dating

a Dating object

Value

Returns the greatest date belonging to the dating which is less or equal than the indicated one.

See Also

See also the functions Dceiling and Dround

Examples

# Obtain the first day of the current month
Dfloor(Sys.Date(), Monthly)

Results