# coyote: JD2TIME

- coyote/Utilities
- [Source code]

Description

      The purpose of this function is to convert a Julian day number into
      a time string of the form "16 Mar 2009".

Categories

      Utilities

Returns

      A scalar or vector of time strings of the form "16 Mar 2009 15:34:26".

Params

      jdnumber: in, optional, type=integer
         A Julian day number or array of Julian day numbers. If absent,
         today's current Julian day number.
      jdyear: in, optional, type=integer
         The year for which the Julian day number applies. If absent, the current year.

Keywords

      day: out, optional, type=integer
         The day of the month as an integer.
      month: out, optional, type=integer
         The month as an integer.
      year: out, optional, type=integer
         The year as an integer.

Examples

      Used like the IDL AXIS command::
         IDL> cgPlot, cgDemoData(1), YStyle=8, Position=[0.1, 0.1, 0.85, 0.9], /Window
         IDL> cgAxis, /YAxis, Color='red', YRange=[-500, 500], /Save, /Window

Author

      FANNING SOFTWARE CONSULTING::
         David W. Fanning
         1645 Sheely Drive
         Fort Collins, CO 80526 USA
         Phone: 970-221-0438
         E-mail: david@idlcoyote.com
         Coyote's Guide to IDL Programming: http://www.idlcoyote.com

History

      Change History::
         Written by: David W. Fanning, 25 June 2009.
         Added DAY, MONTH, and YEAR keywords. 18 Sept 2012. DWF.

Copyright

      Copyright (c) 2009-2012, Fanning Software Consulting, Inc.