From c9aa9e4de4fd0c07642f6c2f7303d8382f6d6e29 Mon Sep 17 00:00:00 2001 From: Kenneth Philp Date: Tue, 24 Dec 2024 17:44:42 +0000 Subject: [PATCH] Update --- server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 089a889..4aea843 100644 --- a/server.py +++ b/server.py @@ -12,8 +12,9 @@ def home(): currentDate=dt.datetime.today() formattedDate= currentDate.strftime("%x") + formattedTime = dt.datetime.now().strftime("%H:%M:%S") print("The date is " + formattedDate) - return render_template("index.html", displayDate = formattedDate) + return render_template("index.html", displayDate = formattedDate, displayTime=formattedTime) if __name__=="__main__": app.run(debug=True) \ No newline at end of file