Convert Julian date to Normal Date

版本 1.1.0.0 (2.5 KB) 作者: M Sohrabinia
Accepts Julian Date(s) vector (numeric), gives normal date(s) in a character vector
1.5K 次下载
更新时间 2012/6/6

查看许可证

Julian Date input format: yyyyddd, e.g, 01 Jan 2009 = 2009001 or 31 Dec 2009 =
2009365. Normal date output format can be 'dd-mmm-yyyy' (e.g., 31-Dec-2009). If the given date is not in the above format (i.e., numeric with 7 significant digits such as 2012187.5 for 05 Jun 2012 12:00 PM), warnings will be returned. The second input argument is optional.
________________________________________
--Inputs:
jl_dates: one or a vector of numerical Julian dates (7 significant digits: 0000000.00)
dateFormat: format of the output string date (optional)
--Outputs:
normalDate: a character vector of output date(s)
status: a string character giving information about possible warnings
which will be generated if the input jl_dates vector does not follow
required conditions.

引用格式

M Sohrabinia (2024). Convert Julian date to Normal Date (https://www.mathworks.com/matlabcentral/fileexchange/36901-convert-julian-date-to-normal-date), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dates and Time 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Description of the function is updated and the inputs/outputs are more clarified.

1.0.0.0