library(lubridate)
irrad_extraterrestrial(ymd_hm("2021-06-21 12:00", tz = "UTC"))
irrad_extraterrestrial(ymd_hm("2021-12-21 20:00", tz = "UTC"))
irrad_extraterrestrial(ymd_hm("2021-06-21 00:00", tz = "UTC") + hours(1:23))
Run the code above in your browser using DataLab