List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract
MTK_JULIAN_TO_DATETIME convert Julian date to date and time (ISO 8601).
-Copyright
Copyright (2005), California Institute of Technology.
U.S. Government sponsorship acknowledged.
-I/O
Given:
juliandate Julian date
the call:
status = MTK_JULIAN_TO_DATETIME( juliandate, datetime )
returns:
status 0 on success; otherwise failure
datetime ISO 8601 formatted date and time string
-Examples
;;
;; Set up input parameters
;;
juliandate = 2453728.27313d
status = MTK_JULIAN_TO_DATETIME( juliandate, datetime )
;;
;; Output...
;;
print, 'julian date : ', juliandate
print, '================================================='
print, 'DATE/TIME : ', datetime
IDL outputs:
julian date : 2453728.3
=================================================
DATE/TIME : 2005-12-23T18:33:18Z
-Particulars
None.
-Required Reading
For important details concerning this module's function, please refer to
the MTK routine MtkJulianToDateTime.c.
-Version
-IDL-MTK Version 1.2.0