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 details)
File details
Details for the file rlib-date-0.1.tar.gz
.
File metadata
- Download URL: rlib-date-0.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e2b2cadbc6d3e931ae1ee9bba8e764840a8796b5881fb0516d487a005eff7a5 |
|
MD5 | 7096261eb08aa3f10965d9bd722e71a8 |
|
BLAKE2b-256 | be78fe73d458d8342332527039f78f2c4259da70564609f47588af505794e866 |