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

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.

Files for rlib-date, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size rlib-date-0.1.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page