>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  JD2DATE
Libraries

JD2DATE

JD2DATE

Name


      JD2DATE

Purpose


      Convert a Julian Day number to a date string.

Category


Calling Sequence


      date = jd2date(jd)

Inputs


      jd = Julian Day number. in

Keyword Parameters


Keywords


        FORMAT = format string. Allows output date to be customized.
            The following substitutions take place in the format string:
        Y$ = 4 digit year.
        y$ = 2 digit year.
        N$ = full month name.
        n$ = 3 letter month name.
        d$ = day of month number.
        W$ = full weekday name.
        w$ = 3 letter week day name.

Outputs


      date = returned date string. out

Common Blocks


Notes


Notes


        The default format string is 'd$-n$-Y$' giving 24-Sep-1989
        Example: FORMAT='w$ N$ d$, Y$' would give 'Mon

Modification History


      R. Sterner, 27 Feb, 1991
  Copyright (C) 1991, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



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