Skip to main content

Simple and beautiful way to create date and datetime objects in Python.

Project description


from datetime import date, datetime

d = date(year=2018, month=3, day=25)
t = datetime(year=2018, month=3, day=25, hour=23, minute=45)


from beautiful_date import *

d = 25/Mar/2018
t = (25/Mar/2018)[23:45]


pip install beautiful-date

Project details

Release history Release notifications

Download files

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

Files for beautiful-date, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size beautiful-date-1.0.1.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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