A small and simple package to get current Date and Time
Project description
About
Very simple Python script to display the current Time.
Simply install it via pip.
Pip
pip install CurrenTime
How to import
Just type
from CurrenTime import CurrenTime
after you imported the lib
Commands
.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
Note
this is a very simple library, i may upgrade it later (e.g. correct timeformat for other Countries).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
currentime-1.0.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for currentime-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8896183737f731683a276675123d28ce007e476e8c495de8071edec321078694 |
|
MD5 | 0abe1356f91457ac0fea0370351fbd06 |
|
BLAKE2b-256 | 787971f798f3e67b5369542a6a4d062ac4a76aed8f10fc31a54ded3db94cf097 |