Name
season — compute the season a given date falls within
Synopsis
DATE
date
;
CHAR(1)
season
(
|
timestamp) ; |
|
TIMESTAMP
timestamp
;
CHAR(1)
season
(
|
textualdate) ; |
|
TEXT
textualdate
;
Input
date
A date
, timestamp
, or
text
that can be interpreted as a
date.
Description
Return a code for the season, dry
(D
) or wetter
(W
), in which a given
date falls. The wetter season, indicated by a return
value of W
, begins on
the first day of the 11th month. The dry
season indicated by a return value of
D
, begins on the 1st day
of the 6th month.