curr_date = datetime.now()
start = TimeUtil.get_start_of_date(curr_date)
end = TimeUtil.get_end_of_date(curr_date)
print(f"Start of the Date: {start}, End of the Date: {end}")
Start of the Date: 2024-03-12 00:00:00, End of the Date: 2024-03-12 23:59:59.999999
Metadata
Release files for python-timetools 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-timetools-1.0.3.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_timetools-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.3 kB
Release files / python-timetools-1.0.3.tar.gz
| Download URL | python-timetools-1.0.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b79db5141514722d8b0b5ca3ae0c181688e5d0ff8a6b9eb0c578b1cd7572e6b3
|
|
BLAKE2b-256 checksum How to use checksums |
5793a04ffd14193306832361f5860b02de5b0114944bd3d362182503228807d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.9
|
Release files / python_timetools-1.0.3-py3-none-any.whl
| Download URL | python_timetools-1.0.3-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9067122e7b45f961850088741eb09cf59e74a12547f89c464cbd4219d2731db
|
|
BLAKE2b-256 checksum How to use checksums |
470a010bc2e7d0d81579bc2968c5910a8568c810b04da04dc906dce6e9f1acf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.9
|