Generates date time as string without spaces
Project description
Stampa
datetime.now() without spaces
datetime.datetime(2022, 12, 7, 21, 0, 49, 482071)
from stampa.stampa import Stamp
stamp = Stamp("stamp")
print(stamp)
20221207210049482071
stamp = Stamp("year")
print(stamp)
2022
stamp = Stamp("month")
print(stamp)
202212
stamp = Stamp("day")
print(stamp)
20221207
stamp = Stamp("hour")
print(stamp)
2022120721
stamp = Stamp("min")
print(stamp)
202212072100
stamp = Stamp("sec")
print(stamp)
20221207210049
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
stampa-0.2.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
stampa-0.2.0-py3-none-any.whl
(2.8 kB
view hashes)