Last data update: 2014.03.03

R: Date Belong
DbelongR Documentation

Date Belong

Description

Indicates if a date belongs to a dating.

Usage

Dbelong(dte, dating)

Arguments

dte

a Date or POSIXt object

dating

a Dating object

Value

Returns a logical value depending on if the date belongs or not to the dating.

See Also

See also the reference for Dating objects.

Examples

# Checks if today is the first day of a month
Dbelong(Sys.Date(), Monthly)

Results