fDate | R Documentation |
Create date-time character string from year, month, hour, and timezone.
fDate(year, month, day, hour, tz = "UTC")
year |
integer, year |
month |
integer, month (1-12) |
day |
integer (1-31) or character ("last"), day of the month. |
hour |
integer, hour (0-23) |
tz |
Olson timezone code ('OlsonNames()'), "UTC" by default. |
A utility function to create input in format used 'get_merra2_subset'.
fDate(2010, 12, "last", 23)
fDate(2010, 1, 1, 0)
OlsonNames()
fDate(2010, 1, 1, 0, tz = "America/New_York")
fDate(2010, 1, 1, 0, tz = "Pacific/Auckland")
fDate(2010, 1, 1, 0, tz = "Asia/Kolkata")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.