Learn R Programming

dttr2 (version 0.5.2)

is_date_time: Is Date/Time

Description

Tests whether an object is a Date, POSIXct, or hms vector.

Usage

is.POSIXct(x)

is_date_time(x)

is.Date(x)

is_date(x)

is.hms(x)

is_time(x)

Value

A flag indicating whether x inherits from Date, POSIXct or hms.

Arguments

x

An object

See Also

Other is: dtt_is_date(), dtt_is_date_time()