>  Docs Center  >  Libraries  >  Bowman  >  MAKE_DATE

MAKE_DATE

MAKE_DATE

Name


MAKE_DATE

Purpose


This function creates a CDATE or a CDATE_NO_LEAP structure containing the specified values.

Category


Date and time calculations.

Calling Sequence


date = MAKE_DATE([year, [month, [day, [hour, [minute, [second]]]]]])

Input


year : Optional calendar year
month : Optional month (1 to 12)
day : Optional day of the month (1 to 28, 30, or 31)
hour : Optional hour (0 to 23)
minute : Optional minute (0 to 59)
second : Optional second (0 to 59)

Output


CDATE tructure (defined in cdate__define.pro) or
CDATE_NO_LEAP tructure (defined in cdate_no_leap__define.pro)

Keywords


    NO_LEAP : If set, create a CDATE_NO_LEAP structure (use a calendar without leap days),
              else, create a CDATE structure.

Modification History


    Kenneth Bowman, 1999-04.
    Updated to include default values for all parameters, 2000-03.
    Updated to include NO_LEAP option, 2001-03.



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