ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pear-general
pear-general
[PEAR] Re: unix2MDBstamp() and day light savings
by Lukas Smith other posts by this author
May 12 2005 3:03PM messages near this date
[PEAR] Re: unix2MDBstamp() and day light savings | [PEAR] 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

-- 
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved