Skip to main content

Python get time package

Project description

A package that allows times away or far of a given time and multiple formats for that given time

Basic Python Library That Gives Times Ago, Times Due Or Multiple Time Formats(Pick Any In The Array)

## Below is an example how you use it

from py_comment_times import get_times_far, get_times_format

import datetime
from datetime import timezone

now = datetime.datetime.now(timezone.utc)

next = now + datetime.timedelta(1,3)

print(get_times_format(next))

print(get_times_far(next))

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

py-comment-times-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

py_comment_times-0.0.1-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