{"id":61,"date":"2025-11-07T15:52:22","date_gmt":"2025-11-07T15:52:22","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/d_bhujel\/?p=61"},"modified":"2025-11-07T15:52:43","modified_gmt":"2025-11-07T15:52:43","slug":"today-i-made-a-working-clock","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/d_bhujel\/2025\/11\/07\/today-i-made-a-working-clock\/","title":{"rendered":"today I made a digital current clock"},"content":{"rendered":"\n<p>today I made a digital working clock with tkinter<\/p>\n\n\n\n<p>It tells you the exact date and time with the seconds in it<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"501\" height=\"242\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image.png\" alt=\"\" class=\"wp-image-62\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image.png 501w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-300x145.png 300w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"416\" height=\"270\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-1.png\" alt=\"\" class=\"wp-image-63\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-1.png 416w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-1-300x195.png 300w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\" \/><\/figure>\n\n\n\n<p>this part of the code updates the time, day\/year<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"634\" height=\"201\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-2.png\" alt=\"\" class=\"wp-image-64\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-2.png 634w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-2-300x95.png 300w\" sizes=\"auto, (max-width: 634px) 100vw, 634px\" \/><\/figure>\n\n\n\n<p>this part of the code lets you change the color inside the clock<\/p>\n\n\n\n<p>you can see here how I changed it to red and it also allows you to change the font<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1022\" height=\"220\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-3.png\" alt=\"\" class=\"wp-image-65\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-3.png 1022w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-3-300x65.png 300w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/11\/image-3-768x165.png 768w\" sizes=\"auto, (max-width: 1022px) 100vw, 1022px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>today I made a digital working clock with tkinter It tells you the exact date and time with the seconds in it this part of the code updates the time, day\/year this part of the code lets you change the color inside the clock you can see here how I changed it to red and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":66,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-61","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":2,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts\/61\/revisions\/68"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/media\/66"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}