Documentation

yearStart

gets the year start

object yearStart(object date);

Parameters

dateobjectdate object

Returns

objectdate object adjusted to the start of the year
Back to top