Skip to main content

Swap the current date from one format into different format

Project description

Library to convert and get different format of date & time

Description

Library to convert and get different format of date & time

Available Formats

# Days (D) – 173 (Julian) # European (E) – 22/06/16 # European (EX) – 22/06/2016 # Month (M) – Jun # Month (MX) – June # Normal (N) – 22 Jun 2002 # Normal (NX) – 22 June 2002 # Ordered (O) – 16/06/22 # Ordered (OX) – 2016/06/22 # Standard (S) – 160622 # Standard (SX) – 20160622 # USA (U) – 06/22/16 # USA (UX) – 06/22/2016 # Weekday (W) – Sat # Weekday (WX) – Saturday # Time (T12) – 01:56 PM # Time (T12X) – 01:56:00 PM # Time (T12XX) – 01:56:00:000000 PM # Time (T24) – 13:56 PM # Time (T24X) – 13:56:00 PM # Time (T24XX) – 13:56:00:000000 PM # Default – 03/23/16 14:23:56

Example

swapdate.get(“E”) output –> 22/06/16

Project details


Release history Release notifications | RSS feed

This version

0.4

Download files

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

Source Distribution

swapdate-0.4.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distributions

swapdate-0.4-py2.py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 2 Python 3

swapdate-0.4-py2.7.egg (3.7 kB view hashes)

Uploaded Source

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