parse_timestamp

< Back to Reference

parse_timestamp()

Parse Date Input to Unix Timestamp

Usage

parse_timestamp(x)

Arguments

Argument Description
x Date, character, POSIXt, or numeric (already Unix timestamp).

Value

Integer. Unix timestamp in seconds.

Description

Converts various date inputs to Unix timestamp (seconds).