This is a Time calculation module
Project description
#--coding:utf-8-- 时间字符串按照本身格式转为时间戳strToTimeStamp(timeStr, timeFmt):
时间戳转为一定格式的时间字符串timeStampToStr(timeStamp, timeFmt):
计算两个时间字符串之间的差值,可以按照秒(s)、分(m)、小时(h)返回,默认返回秒timeMinusStr(start_time_str, end_time_str, time_fmt, timeType):
计算两个时间戳之间的差值,可以按照秒(s)、分(m)、小时(h)返回,默认返回秒timeMinusStamp(start_time, end_time, timeType):
将时间戳转为世界时间字符串timeStrToUTCStr(time_str, timeFmt):
时间字符串添加分钟和小时后返回时间字符串strTimeAddMinHour(str_p, mins, hours):
时间字符串添加分钟和小时后返回时间字符串strTimeAddMinHourByFmt(str_p, mins, hours, fmt):
获取两个时间字符串之间,所有的日期getDatesByTimes(sDateStr, eDateStr):
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cytimeutil-1.0.1.tar.gz.
File metadata
- Download URL: cytimeutil-1.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.7.1 requests/2.6.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc01cd62cb10674931630a126509403ef5fa640c8b57018cbe179596aabf62e4
|
|
| MD5 |
227b1440e1502e73f6f34a7dfe1d58cd
|
|
| BLAKE2b-256 |
70e542b41c60bbd599f9d06ccb9ac56461e90950df493d75daf5109d68b671b7
|
File details
Details for the file cytimeutil-1.0.1-py3.8.egg.
File metadata
- Download URL: cytimeutil-1.0.1-py3.8.egg
- Upload date:
- Size: 4.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.7.1 requests/2.6.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75a6ad6301cb4cf98ccfff167eaec39b758354f2acc65c4bba9e0645296d1c25
|
|
| MD5 |
02835c892fe22c5cc035daf77760bf0c
|
|
| BLAKE2b-256 |
ffea6e0b2b64b7a41e9f4ec7e341b1f359157cf5310252e42a763a9c063fda9a
|