Is it a Unix timestamp (seconds)?
Details
Inherently loose: any 9-10 digit integer in the plausible epoch range matches. Intended as a weak signal, corrected in the DGF if wrong.
See also
Other code detectors:
is_ca_postal_code(),
is_country_code(),
is_http_status(),
is_roman(),
is_uk_postcode(),
is_us_state(),
is_version(),
is_zip_code()
Examples
is_unix_time(c("1513036980", "946684800", "12345", NA))
#> [1] TRUE TRUE FALSE NA