Convert UTC to Solar Apparent Time

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

You are now following this Submission

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 (2026). Convert UTC to Solar Apparent Time (https://www.mathworks.com/matlabcentral/fileexchange/32804-convert-utc-to-solar-apparent-time), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Equation of Time

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0