Nothing
hours <- function(date=NULL) {
if ( !(class(date)[1] %in% c("POSIXct","POSIXlt")) )
stop("Only POSIXct and POSIXlt class dates")
UseMethod("hours")
}
hours.POSIXct <- function(date) {
as.numeric(format(date, "%H"))
}
hours.POSIXlt <- function(date) {
date$hour
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.