Changeset 205 for trunk/SRC/Calendar/jul2date.pro
- Timestamp:
- 01/22/07 08:55:49 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Calendar/jul2date.pro
r157 r205 30 30 compile_opt idl2, strictarrsubs 31 31 ; 32 33 caldat, jday, month, day, year 34 32 caldat, jday, month, day, year, hour, min, sec 33 ; 35 34 res = (10000L*year + 100L*month + day)*(year GE 0) $ 36 35 +( 10000L*year - 100L*month - day)*(year LT 0) 36 ; 37 IF total([hour NE 12, min NE 0, sec NE 0]) EQ 0 THEN return, long(res) $ 38 ELSE return, double(res) + (hour / 24.0d0) + (min/1440.0d0) + (sec / 86400.0d0) 37 39 38 return, long(res)39 40 end
Note: See TracChangeset
for help on using the changeset viewer.