endOfSecond()

Determines the latest date-time of the year, month, day, hour, minute, and second of a specific Date object.

This function is valid in v2.20.0 to v2.24.3. This function has been downloaded 40 times.

Parameter

{Date} date
The object from which to pull the year, month, day, hour, minute, and second.

Returns

{Date}
The latest date-time of the year, month, day, hour, minute, and second contained by date.

Required Function

This function directly requires the following function which is included automatically:

  • isSameYear()
    Determines if one date is in the same year as another date.

Requiring Function

This function is directly required by the following function:

  • isSameYear()
    Determines if one date is in the same year as another date.