Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Additional time Module Features

Here are some additional functions in the time module.

time.sleep ( seconds , tuple )

Delay execution for a given number of seconds. The argument may be a floating point number for subsecond precision.

time.accept2dyear

If non-zero, 2-digit years are accepted. 69-99 is treated as 1969 to 1999, 0 to 68 is treated as 2000 to 2068. This is 1 by default, unless the PYTHONY2K environment variable is set; then this variable will be zero.

time.altzone

Difference in seconds between UTC and local Daylight Savings time. Often a multiple of 3600 (all US time zones are in whole hours). For example, Eastern Daylight Time is 14400 (4 hours).

time.daylight

Non-zero if the locale uses daylight savings time. Zero if it does not.

time.timezone

Difference in seconds between UTC and local Standard time. Often a multiple of 3600 (all US timezones are in whole hours).

time.tzname

The name of the timezone.


 
 
  Published under the terms of the Open Publication License Design by Interspire