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