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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for swapdate-0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee3eb6c5724da6d9fe2c9e0e8030ccdf746be525261427e52b442bf4475d588e |
|
MD5 | afc36d5e3e34e05477f8c423ad6f4a71 |
|
BLAKE2b-256 | 3b47e2538365536bd00ef0afc620914e9b5ce0c3834a3217503a0d76dfd53231 |