You are here: Re: epoch date -- Expires: Thu, 19 Nov 1981 08:52:00 « PHP Programming Language « IT news, forums, messages
Re: epoch date -- Expires: Thu, 19 Nov 1981 08:52:00

Posted by Andy Hassall on 09/24/06 21:51

On Sun, 24 Sep 2006 21:28:06 +0000, John Kelly <jak@isp2dial.com> wrote:

>Pardon me if this is a FAQ. I searched, but got far too many hits to
>find the answer. Question:
>
>Why is the date: Thu, 19 Nov 1981 08:52:00 GMT used as the value for
>anti-caching Expires: headers?
>
>Why not use the UNIX epoch of Thu, 01 Jan 1970 00:00:00 GMT?
>
>The IBM PC debuted in 1981, but that was August 12, not November 19.
>Is there a PC clock "epoch" related to the November 19 date used by
>PHP?

It was added in this revision:
http://cvs.php.net/viewvc.cgi/php-src/ext/session/session.c?r1=1.80&r2=1.81

... by CVS user "sas", who is Sascha Schumann. The date appears to be Sascha's
birthday:

http://www.phpbuilder.com/lists/php3-list/199911/3159.php

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация