Skip to main content
Info:

This is the README file for Date Calculator.

Author:

Chris Warrick <chris@chriswarrick.com>

Date:
2016-05-04
Version:
0.2.1
https://travis-ci.org/Kwpolska/datecalc.svg?branch=master

PURPOSE

A simple date calculator.

INSTALLATION

pip install datecalc

CLI USAGE

Calculating difference between dates:

$ python -m datecalc.cli -d 2016-01-01T00:00:00 2016-01-02T02:03:04
1 day 02:03:04
$ python -m datecalc.cli -d 2016-01-02T02:03:04 2016-01-01T00:00:00
-1 day 02:03:04
$ python -m datecalc.cli -d 2016-01-01T00:00:00 2016-01-03T02:03:04
2 days 02:03:04
$ python -m datecalc.cli -d 2016-01-04T02:03:04 2016-01-01T00:00:00
-3 days 02:03:04

Adding/subtracting:

$ python -m datecalc.cli -a 2016-01-01T00:00:00 12:00:00
2016-01-01T12:00:00
$ python -m datecalc.cli -a 2016-01-01T00:00:00 m12:00:00
2015-12-31T12:00:00
$ python -m datecalc.cli -a -- 2016-01-01T00:00:00 -12:00:00
2015-12-31T12:00:00
$ python -m datecalc.cli -a 2016-01-01T00:00:00 4d12:00:00
2016-01-05T12:00:00

GUI USAGE

coming soon!

Release files for datecalc 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datecalc 0.2.1
File Size Uploaded
datecalc-0.2.1.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datecalc 0.2.1
File Interpreter ABI Platform
datecalc-0.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 28.4 kB

Release files / datecalc-0.2.1.tar.gz

Download URL datecalc-0.2.1.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
976c3de31f8897e095e89ddb88d9ddeb98ca5b3c85c2a2f95eb1fce1f05faa6f
BLAKE2b-256 checksum
How to use checksums
c5ee9b3046a698c9415f03d6fd82e4f11dbf5172db36f92a59a1d2bbe0fcd67b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / datecalc-0.2.1-py2.py3-none-any.whl

Download URL datecalc-0.2.1-py2.py3-none-any.whl
Size 12.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
91eb6a6c44ee16c4b1687ea70bdb054386d75d5432f7631c078ae0e679ea81ae
BLAKE2b-256 checksum
How to use checksums
78fd6ae5dd029e2988c3e1ec7b59c4cd8a14c47c1f7b255af38f08407adf217b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page