Clock display with Python and Tkinter


A simple clock display with local time, UTC, date (iso8601 format of course!), MJD, day-of-year, and week number. Useful as a permanent info-display in the lab - just make sure your machines are synced with NTP.

This uses two small additions to jdutil:


  1. Thank you!

    Works perfect!
    I have added "root.bind("x", quit)" to exit the Digital-Clock!

    Greetz Django

  2. thanks! I added this line to digiclock now:

  3. what's the font family for digital clock ?

    • admin

      January 11, 2019 at 16:55

      looking at the code it seems it is arial bold. I don't know what font-library/source Tkinter uses internally.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2019

Theme by Anders NorénUp ↑