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 py2 py3

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

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page