Description Usage Arguments Value See Also Examples
Pass an R date object ("Date", "Numeric", "character", "POSIXt", and "POSIXct") to Google Earth Engine (ee$Date).
1 |
date |
R date object |
timestamp |
Logical. If TRUE, return the date in milliseconds from the Unix Epoch (1970-01-01 00:00:00 UTC) otherwise return a EE date object. By default FALSE. |
rdate_to_eedate
will return either a numeric timestamp or
an ee$Date depending on the timestamp
argument.
Other date functions:
ee_get_date_ic()
,
ee_get_date_img()
,
eedate_to_rdate()
1 2 3 4 5 6 7 | ## Not run:
library(rgee)
ee_Initialize()
rdate_to_eedate('2000-01-01')
rdate_to_eedate(315532800000) # float number
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.