Solar Time Calculator

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration shows two clocks that compare the current local time with the apparent solar time at the user's location.


Solar time differs from clock time due to the equation of time for the date and the offset of the user's location from the center of the location's time zone. The use of daylight saving time will further increase the difference by 60 minutes.

Click the "today" button to set the solar time for today, which takes into account the user's location, time zone, and daylight saving time when appropriate. Changing the date shows the variation of solar time at the user's location during the course of one year.


Contributed by: Erik Mahieu (May 2012)
Open content licensed under CC BY-NC-SA



The clock graphics code was adapted from Christopher Carlson's "Always the Right Time for Mathematica..." post on the Wolfram Blog.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.