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