Learn R Programming

astroFns (version 4.2-1)

ut2dmjd: UT to DMJD

Description

Universal time to decimal modified Julian date.

Usage

ut2dmjd(yr = 2012, mo = 1, dy = 1, hr = 0, mi = 0, se = 0)

Arguments

yr

UT year

mo

UT month

dy

UT day

hr

UT hour

mi

UT minute

se

UT second

Value

Decimal modified Julian date.

See Also

dmjd2ut

Examples

Run this code
# NOT RUN {
ut2dmjd(yr=2000, mo=1, dy=1, hr=0, mi=0, se=0)
format(ut2dmjd(yr=2012, mo=5, dy=20, hr=7, mi=8, se=39), digits=10)
# }

Run the code above in your browser using DataLab