Skip to main content

Common datetime operations

Project description

datetime-tools

Common datetime operations

Installation

pip install datetime-tools

Usage example

Importing

from datetime_tools.get_year_and_week import get_year_and_week
from datetime_tools.get_duration import get_duration_minutes

Usage

get_year_and_week("2022-10-29")
get_duration_minutes("14:45", "15:10")

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

datetime_convertion_tools-0.0.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file datetime_convertion_tools-0.0.3.tar.gz.

File metadata

File hashes

Hashes for datetime_convertion_tools-0.0.3.tar.gz
Algorithm Hash digest
SHA256 404e1415b8b2cb69c816110001d7b17ae542254ae86a2eaf59785748e7673ad2
MD5 b408ff29e9e09e5a74dab1469a01e689
BLAKE2b-256 151b21531121a54175a1df3199da4886ccc768142505c9f9881e024fd49237ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for datetime_convertion_tools-0.0.3.tar.gz:

Publisher: release.yaml on TheNewThinkTank/datetime-tools

Attestations:

File details

Details for the file datetime_convertion_tools-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for datetime_convertion_tools-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6aa792ac4a8da6f2152a9a0ec2ab838d79b5ee2904daa2c99c2f5ab844d5ea0
MD5 950b99fb423010ca7a27b0cc0992033e
BLAKE2b-256 35eac91063078b2add81f6d1613a47f14272a79a5808127f35e332cbfb7ac073

See more details on using hashes here.

Provenance

The following attestation bundles were made for datetime_convertion_tools-0.0.3-py3-none-any.whl:

Publisher: release.yaml on TheNewThinkTank/datetime-tools

Attestations:

Supported by

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