first_of_quarter {dint}R Documentation

Get First / Last Day of a Quarter

Description

Get First / Last Day of a Quarter

Usage

first_of_quarter(x)

## Default S3 method:
first_of_quarter(x)

last_of_quarter(x)

## Default S3 method:
last_of_quarter(x)

Arguments

x

Anything that can be coerced to a date with base::as.Date()

Value

a Date

Examples


first_of_quarter("2016-06-04")
last_of_quarter("2016-06-04")


[Package dint version 2.1.3 Index]