View source: R/convert_date_to_doyhr.R
convert_date_to_doyhr | R Documentation |
Inspired by / copied from LakeMetabolizer date2doy
convert_date_to_doyhr(date)
date |
A datetime object as POSIXct or POSIXt |
Numeric value expressing the date as the number of days, with decimal hours, since 00:00 of December 31 of the preceding year (i.e., January 1st at 00:01 is ~1.01)
streamMetabolizer:::convert_date_to_doyhr(as.POSIXct("2015-02-03 12:01:00 UTC"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.