Learn R Programming

logib (version 0.2.0)

within_a_year: Check if the interval between two dates is less than a year

Description

Check if the interval between two dates is less than a year

Usage

within_a_year(date1, date2)

Value

a boolean

Arguments

date1

the first date by chronological order

date2

the second date by chronological order