jd2g Program

jd2g converts a julian day to its calendar date.

The julian day is the relative day number since January 1, 4713 B.C. The day starts at noon. The fraction part of the day represents the time.

The julian day is used in the daterange field of datagen.

jd2g returns a Julian calendar date if the date is prior to October 15, 1582. If later than October 4, 1582, the date returned belongs to the Gregorian calendar.

Syntax

The syntax for jd2g is:

      jd2g julian_day

jd2g returns the following numbers:

  • year
  • month
  • day
  • hour
  • minute
  • second


    Table of Contents     Job and Record Level Definitions
    Field Level Definitions     Datagen Syntax
    Supporting Routines     FAQ     Copying