Skip to main content

A simple date calculator.

Project description

Info:

This is the README file for Date Calculator.

Author:

Chris Warrick <chris@chriswarrick.com>

Date:
2016-05-03
Version:
0.2.0
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


Download files

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

Source Distribution

datecalc-0.2.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

datecalc-0.2.0-py2.py3-none-any.whl (12.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file datecalc-0.2.0.tar.gz.

File metadata

  • Download URL: datecalc-0.2.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for datecalc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 91afb6a03ea04dba5007a3a8705c8cd11b432117abb5a0921295dde0975bca95
MD5 2801e4b6a29b8bf8c64669d8703bd3dc
BLAKE2b-256 1368fe8d931d322632bfc982aac98992d8f0dd1cd62401a823496307dbb45808

See more details on using hashes here.

File details

Details for the file datecalc-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for datecalc-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2c79260a32beac4007033bb67c860c289c2da6030129e7538d00c8961e7bb2eb
MD5 f1fd3afdab3f79c249818cf4aad3ed99
BLAKE2b-256 5b1d94ff6c875f9531005d9de120ced8258611a6d8ff1e51e15cb4dd9c0eca41

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page