>  Docs Center  >  Libraries  >  ASTROLIB  >  GET_JULDATE
Libraries

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



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us