Home
Get Started
Overview
API Docs
GitHub
semester
Extract the semester
Returns 1 for the first half of the year and 2 for the second half.
Parameters
x
(
Date
): | Datetime | Vector The temporal value(s).
Returns
Vector[Int] The semester(s).