Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stampa-0.2.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file stampa-0.2.0.tar.gz.

File metadata

  • Download URL: stampa-0.2.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for stampa-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9ee41dedd585a544f944d084ffd7ad777e63cd8bec474491b761a88126714229
MD5 3d7d4d61a30302b1234abf4ceee0d8b3
BLAKE2b-256 fd86fbec93cc7100fbb4368fcc4ebc38cb008d6b86727038346e2f3930ca7d37

See more details on using hashes here.

File details

Details for the file stampa-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: stampa-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for stampa-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ef27cafbcd9a609419991c9bca199cff3f90c12b3fc3c5605588bd35f5cd23e
MD5 9b6978b5d50c4231bfd8d50a110a3e0f
BLAKE2b-256 813cf1fc1a0e671eeda01744ecfd8b9b785fc0f8ecf55c81ce2bbad98a523973

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page