python time tools
Project description
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
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
python-timetools-1.0.1.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for python_timetools-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7ae8a88e63e8990822dc43342f86eca9d4a0557c38e00f8ffcff9167b86bbc |
|
MD5 | 6e69b32f545a489e789d31ea6af5989c |
|
BLAKE2b-256 | 7d8ee69cd3ba6b155e57dcc04b35ca56b5f0fd5e1ff471bcbeb08e72416adbf4 |