A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://r-spatial.github.io/rgee/reference/rdate_to_eedate.html below:

Pass an R date object to Earth Engine — rdate_to_eedate • rgee

Pass an R date object ("Date", "Numeric", "character", "POSIXt", and "POSIXct") to Google Earth Engine (ee$Date).

rdate_to_eedate(date, timestamp = FALSE)
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.

Value

rdate_to_eedate will return either a numeric timestamp or an ee$Date depending on the timestamp argument.

Examples
if (FALSE) { # \dontrun{
library(rgee)
ee_Initialize()
rdate_to_eedate('2000-01-01')
rdate_to_eedate(315532800000) # float number
} # }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4