Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Utility for int date like 20150312.

Project Description

VERSION: 0.1.8

Utilities to process the integer format date like: 20150301 First four digits are year. Next two are month. Last two are date.

To file issue, please visit:

https://github.com/jealous/int_date

Documentation for the package is available at:

http://int-date.readthedocs.org/en/latest/int_date.html

Contact author:

cedric.zhuang@gmail.com

LICENSE

BSD License

Example

>>> to_int_date('2015-11-02')
20151102

>>> get_int_day_interval(19831102, 20141225)
11376

>>> get_date_from_int(19831102)
datetime.date(1983, 11, 2)

>>> today()
20150827

>>> in_year(20150412, 2013, 2012)
False

>>> in_month(20150412, 4, 3, 10)
True

>>> in_date(20150412, 2)
False
Release History

Release History

This version
History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.0

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
int_date-0.1.8-py2.py3-none-any.whl (5.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel May 18, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting