RE: unix2MDBstamp() and day light savings

From: Date: Thu, 12 May 2005 20:51:14 +0000
Subject: RE: unix2MDBstamp() and day light savings
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19182@lists.php.net to get a copy of this message
Sorry about that. MDB2 So why deal with daylight saving at all? Why not leave the timestamp as is? Thanks, Michael > -----Original Message----- > From: Lukas Smith [mailto:lsmith@php.net] > Sent: Thursday, May 12, 2005 12:45 PM > To: Michael Caplan > Cc: 'pear-general@lists.php.net' > Subject: Re: unix2MDBstamp() and day light savings > > Michael Caplan wrote: > > That's not the code I was getting at. I have no issue with the format > you > > use. What I am referring to is this: > > > > if (date('I', $unix_timestamp)) { > > $unix_timestamp -= 3600; > > } > > > > Since I celebrate daylight saving time, all my timestamps get an hour > > knocked off when we are in daylight saving time. > > err yes .. shoukd have said which package you are talking about .. i > figured you were talking about MDB .. > > in MDB2 I decided to intentionally not deal with day light saving time, > just because the purpose of MDB2_Date was to be a simple helper .. i > didnt want to compete with PEAR::Date. > > regards, > Lukas CONFIDENTIALITY NOTICE This message contains confidential information intended only for the use of the individual or entity named as recipient. Any dissemination, distribution or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please immediately notify us and delete your copy. Thank you. AVIS DE CONFIDENTIALITÉ Les informations contenues aux présentes sont de nature privilégiée et confidentielle. Elles ne peuvent être utilisées que par la personne ou l'entité dont le nom paraît comme destinataire. Si le lecteur du présent message n'est pas le destinataire prévu, il est par les présentes prié de noter qu'il est strictement interdit de divulguer, de distribuer ou de copier ce message. Si ce message vous a été transmis par mégarde, veuillez nous en aviser immédiatement et supprimer votre copie. Merci.

« previous php.pear.general (#19182) next »