Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  ASTROLIB  >  GET_JULDATE

GET_JULDATE

GET_JULDATE

Name


    GET_JULDATE

Purpose


    Return the current Julian Date

Explanation


    In V5.4, GET_JULDATE became completely obsolete with the introduction
    of the /UTC keyword to SYSTIME(). So GET_JULDATE,jd is equivalent to
    jd = SYSTIME(/JULIAN,/UTC).

Calling Sequence


      GET_JULDATE,jd

Inputs


      None

Outputs


      jd = Current Julian Date, double precision scalar

Example


      Return the current hour, day, month and year as integers
      IDL> GET_JULDATE, JD ;Get current Julian date
      IDL> DAYCNV, JD, YR, MON, DAY, HOURS ;Convert to hour,day month & year

Method


      A call is made to SYSTIME(/JULIAN,/UTC).

Revision History


      Written Wayne Landsman March, 1991
      Converted to IDL V5.0 W. Landsman September 1997
      Assume since V5.4 Use /UTC keyword to SYSTIME() W. Landsman April 2006



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