René's URL Explorer Experiment


Title: time — Time access and conversions — Python 3.15.0a5 documentation

Open Graph Title: time — Time access and conversions

Description: This module provides various time-related functions. For related functionality, see also the datetime and calendar modules. Although this module is always available, not all functions are available...

Open Graph Description: This module provides various time-related functions. For related functionality, see also the datetime and calendar modules. Although this module is always available, not all functions are available...

Opengraph URL: https://docs.python.org/3/library/time.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/_images/social_previews/summary_library_time_01a6066d.png
og:image:altThis module provides various time-related functions. For related functionality, see also the datetime and calendar modules. Although this module is always available, not all functions are available...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/dev/contents.html
time — Time access and conversionshttps://docs.python.org/dev/library/time.html
Functionshttps://docs.python.org/dev/library/time.html#functions
Clock ID Constantshttps://docs.python.org/dev/library/time.html#clock-id-constants
Timezone Constantshttps://docs.python.org/dev/library/time.html#timezone-constants
io — Core tools for working with streamshttps://docs.python.org/dev/library/io.html
logging — Logging facility for Pythonhttps://docs.python.org/dev/library/logging.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/library/time.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/logging.html
previoushttps://docs.python.org/dev/library/io.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Generic Operating System Serviceshttps://docs.python.org/dev/library/allos.html
time — Time access and conversionshttps://docs.python.org/dev/library/time.html
https://docs.python.org/dev/library/time.html#module-time
datetimehttps://docs.python.org/dev/library/datetime.html#module-datetime
calendarhttps://docs.python.org/dev/library/calendar.html#module-calendar
leap secondshttps://en.wikipedia.org/wiki/Leap_second
epochhttps://docs.python.org/dev/library/time.html#epoch
strptime()https://docs.python.org/dev/library/time.html#time.strptime
Coordinated Universal Timehttps://en.wikipedia.org/wiki/Coordinated_Universal_Time
Greenwich Mean Timehttps://en.wikipedia.org/wiki/Greenwich_Mean_Time
time()https://docs.python.org/dev/library/time.html#time.time
sleep()https://docs.python.org/dev/library/time.html#time.sleep
time()https://docs.python.org/dev/library/time.html#time.time
sleep()https://docs.python.org/dev/library/time.html#time.sleep
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
strptime()https://docs.python.org/dev/library/time.html#time.strptime
asctime()https://docs.python.org/dev/library/time.html#time.asctime
mktime()https://docs.python.org/dev/library/time.html#time.mktime
strftime()https://docs.python.org/dev/library/time.html#time.strftime
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
strptime()https://docs.python.org/dev/library/time.html#time.strptime
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
tm_gmtoffhttps://docs.python.org/dev/library/time.html#time.struct_time.tm_gmtoff
tm_zonehttps://docs.python.org/dev/library/time.html#time.struct_time.tm_zone
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
tm_gmtoffhttps://docs.python.org/dev/library/time.html#time.struct_time.tm_gmtoff
tm_zonehttps://docs.python.org/dev/library/time.html#time.struct_time.tm_zone
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
localtime()https://docs.python.org/dev/library/time.html#time.localtime
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
calendar.timegm()https://docs.python.org/dev/library/calendar.html#calendar.timegm
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
mktime()https://docs.python.org/dev/library/time.html#time.mktime
https://docs.python.org/dev/library/time.html#functions
https://docs.python.org/dev/library/time.html#time.asctime
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
asctime()https://docs.python.org/dev/library/time.html#time.asctime
asctime()https://docs.python.org/dev/library/time.html#time.asctime
https://docs.python.org/dev/library/time.html#time.pthread_getcpuclockid
threading.get_ident()https://docs.python.org/dev/library/threading.html#threading.get_ident
identhttps://docs.python.org/dev/library/threading.html#threading.Thread.ident
threading.Threadhttps://docs.python.org/dev/library/threading.html#threading.Thread
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
pthread_getcpuclockid(3)https://manpages.debian.org/pthread_getcpuclockid(3)
https://docs.python.org/dev/library/time.html#time.clock_getres
Clock ID Constantshttps://docs.python.org/dev/library/time.html#time-clock-id-constants
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
floathttps://docs.python.org/dev/library/functions.html#float
https://docs.python.org/dev/library/time.html#time.clock_gettime
Clock ID Constantshttps://docs.python.org/dev/library/time.html#time-clock-id-constants
clock_gettime_ns()https://docs.python.org/dev/library/time.html#time.clock_gettime_ns
floathttps://docs.python.org/dev/library/functions.html#float
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
inthttps://docs.python.org/dev/library/functions.html#int
https://docs.python.org/dev/library/time.html#time.clock_gettime_ns
clock_gettime()https://docs.python.org/dev/library/time.html#time.clock_gettime
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.clock_settime
CLOCK_REALTIMEhttps://docs.python.org/dev/library/time.html#time.CLOCK_REALTIME
clock_settime_ns()https://docs.python.org/dev/library/time.html#time.clock_settime_ns
floathttps://docs.python.org/dev/library/functions.html#float
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
inthttps://docs.python.org/dev/library/functions.html#int
https://docs.python.org/dev/library/time.html#time.clock_settime_ns
clock_settime()https://docs.python.org/dev/library/time.html#time.clock_settime
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.ctime
epochhttps://docs.python.org/dev/library/time.html#epoch
Nonehttps://docs.python.org/dev/library/constants.html#None
time()https://docs.python.org/dev/library/time.html#time.time
ctime()https://docs.python.org/dev/library/time.html#time.ctime
https://docs.python.org/dev/library/time.html#time.get_clock_info
time.monotonic()https://docs.python.org/dev/library/time.html#time.monotonic
time.perf_counter()https://docs.python.org/dev/library/time.html#time.perf_counter
time.process_time()https://docs.python.org/dev/library/time.html#time.process_time
time.thread_time()https://docs.python.org/dev/library/time.html#time.thread_time
time.time()https://docs.python.org/dev/library/time.html#time.time
Clock ID Constantshttps://docs.python.org/dev/library/time.html#time-clock-id-constants
floathttps://docs.python.org/dev/library/functions.html#float
https://docs.python.org/dev/library/time.html#time.gmtime
epochhttps://docs.python.org/dev/library/time.html#epoch
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
Nonehttps://docs.python.org/dev/library/constants.html#None
time()https://docs.python.org/dev/library/time.html#time.time
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
calendar.timegm()https://docs.python.org/dev/library/calendar.html#calendar.timegm
https://docs.python.org/dev/library/time.html#time.localtime
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
Nonehttps://docs.python.org/dev/library/constants.html#None
time()https://docs.python.org/dev/library/time.html#time.time
localtime()https://docs.python.org/dev/library/time.html#time.localtime
OverflowErrorhttps://docs.python.org/dev/library/exceptions.html#OverflowError
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
https://docs.python.org/dev/library/time.html#time.mktime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
time()https://docs.python.org/dev/library/time.html#time.time
OverflowErrorhttps://docs.python.org/dev/library/exceptions.html#OverflowError
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
floathttps://docs.python.org/dev/library/functions.html#float
https://docs.python.org/dev/library/time.html#time.monotonic
monotonic_ns()https://docs.python.org/dev/library/time.html#time.monotonic_ns
floathttps://docs.python.org/dev/library/functions.html#float
inthttps://docs.python.org/dev/library/functions.html#int
https://docs.python.org/dev/library/time.html#time.monotonic_ns
monotonic()https://docs.python.org/dev/library/time.html#time.monotonic
floathttps://docs.python.org/dev/library/functions.html#float
https://docs.python.org/dev/library/time.html#time.perf_counter
time.monotonic()https://docs.python.org/dev/library/time.html#time.monotonic
perf_counter_ns()https://docs.python.org/dev/library/time.html#time.perf_counter_ns
floathttps://docs.python.org/dev/library/functions.html#float
time.monotonic()https://docs.python.org/dev/library/time.html#time.monotonic
inthttps://docs.python.org/dev/library/functions.html#int
https://docs.python.org/dev/library/time.html#time.perf_counter_ns
perf_counter()https://docs.python.org/dev/library/time.html#time.perf_counter
floathttps://docs.python.org/dev/library/functions.html#float
https://docs.python.org/dev/library/time.html#time.process_time
process_time_ns()https://docs.python.org/dev/library/time.html#time.process_time_ns
floathttps://docs.python.org/dev/library/functions.html#float
inthttps://docs.python.org/dev/library/functions.html#int
https://docs.python.org/dev/library/time.html#time.process_time_ns
process_time()https://docs.python.org/dev/library/time.html#time.process_time
https://docs.python.org/dev/library/time.html#time.sleep
high-resolution timerhttps://learn.microsoft.com/windows/win32/api/synchapi/nf-synchapi-createwaitabletimerexw
passhttps://docs.python.org/dev/reference/simple_stmts.html#pass
scheduling policyhttps://docs.python.org/dev/library/os.html#os-scheduling-policy
os.sched_yield()https://docs.python.org/dev/library/os.html#os.sched_yield
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
PEP 475https://peps.python.org/pep-0475/
https://docs.python.org/dev/library/time.html#time.strftime
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
strftime()https://docs.python.org/dev/library/time.html#time.strftime
[1]https://docs.python.org/dev/library/time.html#id4
[1]https://docs.python.org/dev/library/time.html#id4
strptime()https://docs.python.org/dev/library/time.html#time.strptime
strftime()https://docs.python.org/dev/library/time.html#time.strftime
datetime.datetime.strptime()https://docs.python.org/dev/library/datetime.html#datetime.datetime.strptime
datetime.datetime.strftime()https://docs.python.org/dev/library/datetime.html#datetime.datetime.strftime
applies to microsecondshttps://docs.python.org/dev/library/datetime.html#format-codes
strptime()https://docs.python.org/dev/library/time.html#time.strptime
leap secondshttps://en.wikipedia.org/wiki/Leap_second
strptime()https://docs.python.org/dev/library/time.html#time.strptime
RFC 5322https://datatracker.ietf.org/doc/html/rfc5322.html
[1]https://docs.python.org/dev/library/time.html#id4
strftime(3)https://manpages.debian.org/strftime(3)
https://docs.python.org/dev/library/time.html#time.strptime
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
strftime()https://docs.python.org/dev/library/time.html#time.strftime
ctime()https://docs.python.org/dev/library/time.html#time.ctime
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
https://docs.python.org/dev/library/time.html#time.struct_time
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
strptime()https://docs.python.org/dev/library/time.html#time.strptime
named tuplehttps://docs.python.org/dev/glossary.html#term-named-tuple
https://docs.python.org/dev/library/time.html#time.struct_time.tm_year
https://docs.python.org/dev/library/time.html#time.struct_time.tm_mon
https://docs.python.org/dev/library/time.html#time.struct_time.tm_mday
https://docs.python.org/dev/library/time.html#time.struct_time.tm_hour
https://docs.python.org/dev/library/time.html#time.struct_time.tm_min
https://docs.python.org/dev/library/time.html#time.struct_time.tm_sec
Note (2)https://docs.python.org/dev/library/time.html#leap-second
strftime()https://docs.python.org/dev/library/time.html#time.strftime
https://docs.python.org/dev/library/time.html#time.struct_time.tm_wday
https://docs.python.org/dev/library/time.html#time.struct_time.tm_yday
https://docs.python.org/dev/library/time.html#time.struct_time.tm_isdst
https://docs.python.org/dev/library/time.html#time.struct_time.tm_zone
https://docs.python.org/dev/library/time.html#time.struct_time.tm_gmtoff
mktime()https://docs.python.org/dev/library/time.html#time.mktime
tm_isdsthttps://docs.python.org/dev/library/time.html#time.struct_time.tm_isdst
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
TypeErrorhttps://docs.python.org/dev/library/exceptions.html#TypeError
floathttps://docs.python.org/dev/library/functions.html#float
https://docs.python.org/dev/library/time.html#time.time
epochhttps://docs.python.org/dev/library/time.html#epoch
leap secondshttps://en.wikipedia.org/wiki/Leap_second
epochhttps://docs.python.org/dev/library/time.html#epoch
Unix timehttps://en.wikipedia.org/wiki/Unix_time
time()https://docs.python.org/dev/library/time.html#time.time
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
localtime()https://docs.python.org/dev/library/time.html#time.localtime
struct_timehttps://docs.python.org/dev/library/time.html#time.struct_time
time_ns()https://docs.python.org/dev/library/time.html#time.time_ns
floathttps://docs.python.org/dev/library/functions.html#float
inthttps://docs.python.org/dev/library/functions.html#int
https://docs.python.org/dev/library/time.html#time.time_ns
time()https://docs.python.org/dev/library/time.html#time.time
epochhttps://docs.python.org/dev/library/time.html#epoch
floathttps://docs.python.org/dev/library/functions.html#float
https://docs.python.org/dev/library/time.html#time.thread_time
thread_time_ns()https://docs.python.org/dev/library/time.html#time.thread_time_ns
floathttps://docs.python.org/dev/library/functions.html#float
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
inthttps://docs.python.org/dev/library/functions.html#int
https://docs.python.org/dev/library/time.html#time.thread_time_ns
thread_time()https://docs.python.org/dev/library/time.html#time.thread_time
https://docs.python.org/dev/library/time.html#time.tzset
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
localtime()https://docs.python.org/dev/library/time.html#time.localtime
tzset()https://docs.python.org/dev/library/time.html#time.tzset
tzfile(5)https://manpages.debian.org/tzfile(5)
https://docs.python.org/dev/library/time.html#clock-id-constants
clock_getres()https://docs.python.org/dev/library/time.html#time.clock_getres
clock_gettime()https://docs.python.org/dev/library/time.html#time.clock_gettime
https://docs.python.org/dev/library/time.html#time.CLOCK_BOOTTIME
CLOCK_MONOTONIChttps://docs.python.org/dev/library/time.html#time.CLOCK_MONOTONIC
CLOCK_REALTIMEhttps://docs.python.org/dev/library/time.html#time.CLOCK_REALTIME
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_HIGHRES
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_MONOTONIC
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_MONOTONIC_RAW
CLOCK_MONOTONIChttps://docs.python.org/dev/library/time.html#time.CLOCK_MONOTONIC
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_MONOTONIC_RAW_APPROX
CLOCK_MONOTONIC_RAWhttps://docs.python.org/dev/library/time.html#time.CLOCK_MONOTONIC_RAW
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_PROCESS_CPUTIME_ID
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_PROF
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_TAI
International Atomic Timehttps://www.nist.gov/pml/time-and-frequency-division/how-utcnist-related-coordinated-universal-time-utc-international
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_THREAD_CPUTIME_ID
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_UPTIME
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_UPTIME_RAW
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#time.CLOCK_UPTIME_RAW_APPROX
CLOCK_UPTIME_RAWhttps://docs.python.org/dev/library/time.html#time.CLOCK_UPTIME_RAW
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
clock_settime()https://docs.python.org/dev/library/time.html#time.clock_settime
https://docs.python.org/dev/library/time.html#time.CLOCK_REALTIME
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/time.html#timezone-constants
https://docs.python.org/dev/library/time.html#time.altzone
https://docs.python.org/dev/library/time.html#time.daylight
https://docs.python.org/dev/library/time.html#time.timezone
https://docs.python.org/dev/library/time.html#time.tzname
altzonehttps://docs.python.org/dev/library/time.html#time.altzone
daylighthttps://docs.python.org/dev/library/time.html#time.daylight
timezonehttps://docs.python.org/dev/library/time.html#time.timezone
tznamehttps://docs.python.org/dev/library/time.html#time.tzname
tzset()https://docs.python.org/dev/library/time.html#time.tzset
tm_gmtoffhttps://docs.python.org/dev/library/time.html#time.struct_time.tm_gmtoff
tm_zonehttps://docs.python.org/dev/library/time.html#time.struct_time.tm_zone
localtime()https://docs.python.org/dev/library/time.html#time.localtime
datetimehttps://docs.python.org/dev/library/datetime.html#module-datetime
localehttps://docs.python.org/dev/library/locale.html#module-locale
strftime()https://docs.python.org/dev/library/time.html#time.strftime
strptime()https://docs.python.org/dev/library/time.html#time.strptime
calendarhttps://docs.python.org/dev/library/calendar.html#module-calendar
timegm()https://docs.python.org/dev/library/calendar.html#calendar.timegm
gmtime()https://docs.python.org/dev/library/time.html#time.gmtime
1https://docs.python.org/dev/library/time.html#id1
2https://docs.python.org/dev/library/time.html#id2
3https://docs.python.org/dev/library/time.html#id3
RFC 822https://datatracker.ietf.org/doc/html/rfc822.html
RFC 822https://datatracker.ietf.org/doc/html/rfc822.html
RFC 1123https://datatracker.ietf.org/doc/html/rfc1123.html
RFC 2822https://datatracker.ietf.org/doc/html/rfc2822.html
RFC 5322https://datatracker.ietf.org/doc/html/rfc5322.html
Table of Contentshttps://docs.python.org/dev/contents.html
time — Time access and conversionshttps://docs.python.org/dev/library/time.html
Functionshttps://docs.python.org/dev/library/time.html#functions
Clock ID Constantshttps://docs.python.org/dev/library/time.html#clock-id-constants
Timezone Constantshttps://docs.python.org/dev/library/time.html#timezone-constants
io — Core tools for working with streamshttps://docs.python.org/dev/library/io.html
logging — Logging facility for Pythonhttps://docs.python.org/dev/library/logging.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/library/time.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/logging.html
previoushttps://docs.python.org/dev/library/io.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Generic Operating System Serviceshttps://docs.python.org/dev/library/allos.html
time — Time access and conversionshttps://docs.python.org/dev/library/time.html
Copyrighthttps://docs.python.org/dev/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.