A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-June/080481.html below:

[Python-Dev] Epoch and Platform

[Python-Dev] Epoch and PlatformDaniel Stutzbach agthorr at barsoom.org
Tue Jun 17 19:24:57 CEST 2008
On Mon, Jun 16, 2008 at 6:38 PM, Guido van Rossum <guido at python.org> wrote:
> ISTR that we force the epoch to be 1970 on all major platforms -- or
> perhaps it happens to be 1970 even on Windows when using MS's C
> runtime.

I can confirm that Python under Windows does indeed use the Unix epoch:

Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.gmtime(0)
(1970, 1, 1, 0, 0, 0, 3, 1, 0)

-- 
Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises LLC
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4