同Matlab一样,IDL同样包含了日期和时间函数,通过这些函数可以实现特定的需求。
函数名称 功能描述
BIN_DATE - Converts ASCII date/time string to binary string.-标准日期时间字符串转换成6元素日期数组
CALDAT - Converts Julian date to month, day, year.-儒略日转为年月日
CALL_EXTERNAL - Displays a calendar for a given month or year.-根据输入日期显示日历 同CALENDAR
JULDAY - Returns Julian Day Number for given month, day, and ye