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