Convert Julian date to Normal Date
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.
Cite As
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. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.