Learn R Programming

timeplyr (version 1.1.0)

is_date: Utility functions for checking if date or datetime

Description

Utility functions for checking if date or datetime

Usage

is_date(x)

is_datetime(x)

is_time(x)

is_time_or_num(x)

Value

A logical of length 1.

Arguments

x

Time variable.
Can be a Date, POSIXt, numeric, integer, yearmon, yearqtr, year_month or year_quarter.