Decimal Julian Day

Share:

Description

convert JD, HR, MIN SEC to Decimal Julian Day

Usage

1
2
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

1
2
3
4
5
6
Jtim( 9 , hr= 14 , mi= 53 ,sec= 16.7807606880087 )

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

JtimL(j)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.