Return a string giving the water year for a date

Description

Returns a number specifying the water year (2010) for a date.

Usage

1

Arguments

x

a date-time object which can be handled by lubridate