Equation of Time

Compute the equation of time with accuracy on the order of seconds.
685 Downloads
Updated 6 Sep 2011

View License

Compute the equation of time with accuracy on the order of seconds. This routine can handle multiple millenniums.

Function Call With Time String:
>> EQtime = EquationOfTime('2000/01/01 00:00:00');

Function Call With Julian Date:
>> EQtime = EquationOfTime(2451544.5);

Input List:
UTCjd (Coordinated Universal Time YYYY/MM/DD hh:mm:ss or Julian Date (Fractional Days)) [N x M] (double or char)

Output List:
EQtime (Equation of Time Solution for a specified date in fractional minutes) [N x 1] (double)

Cite As

Darin Koblick (2026). Equation of Time (https://www.mathworks.com/matlabcentral/fileexchange/32793-equation-of-time), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers
Acknowledgements

Inspired: Convert UTC to Solar Apparent Time, Orbit wizard

Version Published Release Notes
1.0.0.0