| transDate | R Documentation |
This function converts a sequence of input dates to 'YYYY-MM-DD' and 'YYYYDDD'.
transDate(begin = NULL, end = NULL)
begin, end |
|
A list of begin and end dates formatted according to 'YYYY-MM-DD' (first
two slots; class Date) and 'YYYYDDD' (second two slots; class character).
If input dates are supplied as character, this function either expects
7-digit strings in the MODIS intrinsic form '\%Y\%j' or, alternatively,
10-digit strings in the form '\%Y-\%m-\%d' where the two field separators
need to be uniform (see Examples).
Matteo Mattiuzzi, Florian Detsch
strptime().
transDate()
transDate(begin = "2009.01.01") # ends with current date
transDate(end = "2009.01.01") # starts with Landsat 1
transDate(begin = c("2009-01-01", "2010-01-01"), end = "2011.03.16")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.