wy_yday: Day of water year

Description Usage Arguments Examples

View source: R/wy_yday.R

Description

Get day of water year from date-time object. Warning: uses the system-specific time zone and not the time zone associated with the date-time object.

Usage

1

Arguments

x

A date-time object.

Examples

1
2
wy_yday(as.Date(c("2016-01-01", "2016-10-01", "2017-01-01")))
wy_yday(as.Date(c("2016-03-01", "2017-03-01"))) # 2016 was a leap year

fishsciences/cfs.misc documentation built on Jan. 29, 2021, 3:19 a.m.