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
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
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.


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.


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).


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


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


The name of the timezone.

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