Skip to main content

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

or
Link to my project on PyIp

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


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)

Uploaded Source

Built Distribution

currentime-1.0.3-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page