Skip to main content

Date/Time/DateTime Manipulation Done Right

Project description

# Manipuldate
Date/Time/DateTime Manipulation Done Right
<sub><sub>Still In Active Development - Not Production Ready</sub></sub>

### Badges
[![Build Status](https://travis-ci.org/JenkinsDev/manipuldate.svg?branch=master)](https://travis-ci.org/JenkinsDev/manipuldate)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/JenkinsDev/manipuldate/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/JenkinsDev/manipuldate/?branch=master)

## Installation

`pip install manipuldate`

## Trivial Usage

Here I will just show a very trivial usage, for more in-depth usage options check out our Documentation (Coming Soon TM)

```python
from manipuldate import Manipuldate


today = Manipuldate.today()
# Let's go ahead and print out our current date in a human readable string
print(today.strftime("%m/%d/%Y"))


# Now let's get tomorrow's date
tomorrow = Manipuldate.tomorrow()
print(tomorrow.strftime("%m/%d/%Y"))

# Is tomorrow a weekend?
if tomorrow.is_weekend():
print("Partayyyyyy")
else:
print("Get to work!")


# Oh! Let's add a month to tomorrow.
next_month = tomorrow.add_month()
print(next_month.strftime("%m/%d/%Y"))
```

Project details


Download files

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

Files for manipuldate, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size manipuldate-0.2.1.zip (8.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page