R: Decimal Julian Day

Jtim {RSEIS} | R Documentation

## Decimal Julian Day

### Description

convert JD, HR, MIN SEC to Decimal Julian Day

### Usage

    Jtim(jj, hr = hr, mi = mi, sec = sec, yr=NULL)
    JtimL(j)

### Arguments

`jj` | Julian day
`hr` | Hour
`mi` | Minute
`sec` | Second
`yr` | year, default = NULL

or

`j` | list of the above

### Details

Using a NULL value for yr gives the fractional julian day in a year. If yr is a legitimate year, then the EPOCH number of days from 1972 are added onto the fractional julian day.

### Value

Julian day

### Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

### See Also

secdif

### Examples

    Jtim( 9 , hr= 14 , mi= 53 ,sec= 16.7807606880087 )

    ########   or,
    j = list(jd=9 , hr= 14 , mi= 53 ,sec= 16.7807606880087)

    JtimL(j)

[Package RSEIS version 3.7-4 Index]