juliandate
Julian date calculator
Syntax
Description
converts one or more jd
= juliandate(datetime
)datetime
arrays to Julian date,
jd
.
converts one or more date vectors, jd
= juliandate(dateVector
)dateVector
, to Julian date,
jd
.
converts one or more date character vectors, jd
= juliandate(dateCharacterVector
,format
)dateCharacterVector
, to
Julian date, jd
, using format format
.
and
jd
= juliandate(year
,month
,day
)
return the Julian date for corresponding elements of the jd
= juliandate([year
,month
,day
],'Action'=value
)year,month,day
arrays.
and
jd
= juliandate(year
,month
,day
,hour
,minute
,second
,'Action'=value
)
return the Julian date for corresponding elements of the
jd
= juliandate([year
,month
,day
,hour
,minute
,second
],'Action'=value
)
arrays. Specify the six arguments as 1-D arrays of the same length or scalar
values.year
,month
,day
,hour
,minute
,second
Examples
Input Arguments
Output Arguments
Limitations
The calculation of Julian date does not take into account leap seconds.
Version History
Introduced in R2006bSee Also
decyear
| leapyear
| mjuliandate
| datenum
| datestr