write_POSIXct <- function(vr_val, width){
if(width<7){
vr_out <- format(vr_val,'%y%j')
}else{
vr_out <- format(vr_val,'%Y%j')
}
return(vr_out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.