Day of Water Year

hydro.day(Date, WY.type = "FL")

Arguments

Date

Date in as.POSIXct or as.Date format

WY.type

Specifies Federal ("Fed") or Florida ("FL") water years

Value

Similar to "Day of the Year" calculations, this functions determines the Day of the Water Year.

Note

See WY() function

Examples

dates=as.Date(c("2015-05-01","2015-08-20","2015-12-15"))
hydro.day(dates)
#> [1]   1 112 229