Very simple Python script to display the current Time.
Simply install it via pip.
pip install CurrenTime
Just type
from CurrenTime import CurrenTime
after you imported the lib
.getTime()
Returns the current time always in right format (e.g. 09:32)
.getFullDate()
Returns the current date always in right format (e.g. 17.04.2023)
.printTime()
Prints the current time always in right format
.printFullDate()
Prints the current date always in right format
this is a very simple library, i may upgrade it later (e.g. correct timeformat for other Countries).