Skip to main content

Alternative to standard datetime library.

Project description

Alternative to standard datetime library.

IMPORTANT NOTE: No timezone support!

There is currently no timezone support. It is assumed that all dates and times are local.

Installation

$ pip install rlib-date

Getting Started

from rdate import Date, Time

t = Time.now()
t = Time(22)  # 10:00:00 pm

d = Date.today()
d = Date(2017)  # 2017-01-01

Check the doc strings and unit tests for examples.

License

“MIT”. See LICENSE for details. Copyright t5w5h5@gmail.com, 2018.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rlib-date-0.1.tar.gz (6.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page