Convert UTC to Solar Apparent Time

Convert a time given in UTC to Solar Apparent or Solar Mean Time
969 Downloads
Updated 7 Sep 2011

View License

Convert a time given in UTC to Solar Apparent or Solar Mean Time.

External Function Call Sequence:
>> [SAT,SMT] = UTC2SolarApparentTime('2000/03/20 15:00:00',-1.416667);
>> [SAT,SMT] = UTC2SolarApparentTime('2000/09/23 15:00:00',-1.416667);

Input Description:
UTC (Coordinated Universal Time YYYY/MM/DD hh:mm:ss) [N x 19] char
Lon (Site Longitude in degrees -180:180 W(-) E(+)) [N x 1]

Output Description:
SAT (Solar Apparent Time YYYY/MM/DD hh:mm:ss) [N x 19] char
SMT (Solar Mean Time YYYY/MM/DD hh:mm:ss) [N x 19] char

Cite As

Darin Koblick (2024). Convert UTC to Solar Apparent Time (https://www.mathworks.com/matlabcentral/fileexchange/32804-convert-utc-to-solar-apparent-time), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Equation of Time

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0