Imperial Dating System converter
Based on the information from the Wiki.
Usage
Creating an instance of the object with no parameters will convert the current date (at the moment).
from pydate40k.Date40k import Date40k
d = Date40k()
print(d)
>>> 944 019.M3
Using a date string with the format "%Y-%m-%d %H:%M:%S" will convert that date, on any invalid format, the current date will be returned instead.
from pydate40k.Date40k import Date40k
d = Date40k("1999-05-11 13:00:00")
print(d)
>>> 360 999.M2
GW, Games Workshop, Citadel, Black Library, Forge World, Warhammer, the Twin-tailed Comet logo, Warhammer 40,000, the ‘Aquila’ Double-headed Eagle logo, Space Marine, 40K, 40,000, Warhammer Age of Sigmar, Battletome, Stormcast Eternals, White Dwarf, Blood Bowl, Necromunda, Space Hulk, Battlefleet Gothic, Dreadfleet, Mordheim, Inquisitor, Warmaster, Epic, Gorkamorka, and all associated logos, illustrations, images, names, creatures, races, vehicles, locations, weapons, characters, and the distinctive likenesses thereof, are either ® or TM, and/or © Games Workshop Limited, variably registered around the world. All Rights Reserved.
Release files for pydate40k 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydate40k-0.1.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydate40k-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / pydate40k-0.1.tar.gz
| Download URL | pydate40k-0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26f0eaced9d0e1232f8ebcbfd3a7f502e61debc42f0b8ecdbc6a6d799364a874
|
|
BLAKE2b-256 checksum How to use checksums |
6ded8bab0ec1f11307fc8369d8f3e9c3ac4ac0a4a0fcd81a02d7cd99f50e5239
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
|
Release files / pydate40k-0.1-py3-none-any.whl
| Download URL | pydate40k-0.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91e9037e1e5701874115ecd5a505b278da4798d22d763f7b04b81b4a939e0be3
|
|
BLAKE2b-256 checksum How to use checksums |
887082661c4ccd3d10866860d30ec6f6786db000ca6687c750852e4b700344b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
|