Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A simple date calculator.

Project description

Info:This is the README file for Date Calculator.
Author: Chris Warrick <chris@chriswarrick.com>
Copyright: © 2016, Chris Warrick.
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!

Project details


Release history Release notifications

This version
History Node

0.2.1

History Node

0.2.0

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
datecalc-0.2.1-py2.py3-none-any.whl (12.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 4, 2016
datecalc-0.2.1.tar.gz (16.4 kB) Copy SHA256 hash SHA256 Source None May 4, 2016

Supported by

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