Skip to main content

#--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):

Release files for cytimeutil 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cytimeutil 1.0.1
File Size Uploaded
cytimeutil-1.0.1.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cytimeutil 1.0.1
File Interpreter ABI Platform
cytimeutil-1.0.1-py3.8.egg Legacy Egg format - - Details

Total release size: 6.6 kB

Release files / cytimeutil-1.0.1.tar.gz

Download URL cytimeutil-1.0.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dc01cd62cb10674931630a126509403ef5fa640c8b57018cbe179596aabf62e4
BLAKE2b-256 checksum
How to use checksums
70e542b41c60bbd599f9d06ccb9ac56461e90950df493d75daf5109d68b671b7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / cytimeutil-1.0.1-py3.8.egg

Download URL cytimeutil-1.0.1-py3.8.egg
Size 4.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
75a6ad6301cb4cf98ccfff167eaec39b758354f2acc65c4bba9e0645296d1c25
BLAKE2b-256 checksum
How to use checksums
ffea6e0b2b64b7a41e9f4ec7e341b1f359157cf5310252e42a763a9c063fda9a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page