{"id":25604782,"url":"https://github.com/prathamesh2911/digital_clock","last_synced_at":"2026-04-27T07:30:21.990Z","repository":{"id":277556310,"uuid":"880114419","full_name":"Prathamesh2911/digital_clock","owner":"Prathamesh2911","description":"Created a simple digital clock application using Tkinter, a GUI toolkit in Python. ","archived":false,"fork":false,"pushed_at":"2025-02-14T14:52:06.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T15:40:47.423Z","etag":null,"topics":["clock","digitalclock","python3","strftime","tkinter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Prathamesh2911.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-29T06:20:53.000Z","updated_at":"2025-02-14T14:55:49.000Z","dependencies_parsed_at":"2025-02-14T15:40:51.989Z","dependency_job_id":"111063ee-8cf0-4f38-8d1d-92f6af070db6","html_url":"https://github.com/Prathamesh2911/digital_clock","commit_stats":null,"previous_names":["prathamesh2911/digital_clock"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prathamesh2911%2Fdigital_clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prathamesh2911%2Fdigital_clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prathamesh2911%2Fdigital_clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prathamesh2911%2Fdigital_clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prathamesh2911","download_url":"https://codeload.github.com/Prathamesh2911/digital_clock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240063811,"owners_count":19742224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clock","digitalclock","python3","strftime","tkinter"],"created_at":"2025-02-21T17:50:20.040Z","updated_at":"2026-04-27T07:30:20.000Z","avatar_url":"https://github.com/Prathamesh2911.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital Clock \n\nThis code creates a simple digital clock application using Tkinter, a GUI toolkit in Python. Here’s a summary of its main components:\n\n## Components\n\n- **Imports**: The code imports necessary modules from Tkinter and the `strftime` function from the time module.\n\n- **Window Setup**: A main window (`root`) is created with a title \"Clock\" and a black background.\n\n- **Time Function**: The `time` function fetches the current time in the format \"HH:MM:SS AM/PM\" and updates a label every second.\n\n- **Date Function**: The `date` function retrieves the current date in the format \"DD/Mon/YYYY\" and updates a label every 24 hours.\n\n- **Day Function**: The `day` function gets the current day of the week (e.g., Monday) and updates a label every 24 hours.\n\n- **Labels**: Three labels are created to display the time, date, and day of the week, styled with specific fonts and colors.\n\n- **Main Loop**: The `mainloop()` function starts the Tkinter event loop, allowing the window to remain open and responsive.\n\n## Features\n\n- Displays current time, date, and day.\n- Customizable appearance.\n\n## Requirements\n\n- Python 3.x\n- Tkinter (included with most Python installations)\n\n## Output\n![image](https://github.com/user-attachments/assets/7249c00e-c38f-4f7d-870b-02ee0d99c529)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathamesh2911%2Fdigital_clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprathamesh2911%2Fdigital_clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathamesh2911%2Fdigital_clock/lists"}