>  Docs Center  >  Libraries  >  Bowman  >  LAST_DAY

LAST_DAY

LAST_DAY

Name


LAST_DAY

Purpose


This function returns the date for the last the day of the month
    specified by the input argument date. The year and month are not
    change. The hour, minute, and second are set to 0.

Category


Date and time calculations.

Calling Sequence


last = LAST_DAY(date)

Input


date : CDATE or JTIME structure

Output


    CDATE structure containing the date of the last day of the specified month.

Keywords


None.

Procedure


Subtract one day from the first day of the subsequent month.

Modification History


    K. Bowman, 2004-03-30.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us