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.3.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for python_timetools-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9067122e7b45f961850088741eb09cf59e74a12547f89c464cbd4219d2731db |
|
MD5 | 7feb559a698c74ee76d21e70b14b87c2 |
|
BLAKE2b-256 | 470a010bc2e7d0d81579bc2968c5910a8568c810b04da04dc906dce6e9f1acf2 |