rdate_to_eedate: Pass an R date object to Earth Engine
Description
Pass an R date object ("Date", "Numeric", "character", "POSIXt",
and "POSIXct") to Google Earth Engine (ee$Date).
Usage
rdate_to_eedate(date, timestamp = FALSE)
Value
rdate_to_eedate will return either a numeric timestamp or
an ee$Date depending on the timestamp argument.
Arguments
date
R date object
timestamp
Logical. By default, FALSE. If TRUE, return the date in milliseconds
from the Unix Epoch (1970-01-01 00:00:00 UTC). Otherwise, return a
EE date object.
See Also
Other date functions:
ee_get_date_ic(),
ee_get_date_img(),
eedate_to_rdate()