PHP Classes

Missing classes

Recommend this page to a friend!

      ical  >  All threads  >  Missing classes  >  (Un) Subscribe thread alerts  
Subject:Missing classes
Summary:Missing classes DateTimeZone and DateTime
Messages:2
Author:Jaroslav
Date:2012-02-14 15:09:13
Update:2012-02-18 17:30:46
 

  1. Missing classes   Reply   Report abuse  
Picture of Jaroslav Jaroslav - 2012-02-14 15:09:13
hi,
your class is nice and useful, but classes DateTime and DateTimeZone are missing in the package and the command "$this->setGMTOffset($timezone->getOffset($time)/3600);" in __construct returns the exception.

  2. Re: Missing classes   Reply   Report abuse  
Picture of Lionel F. Lebeau Lionel F. Lebeau - 2012-02-18 17:30:46 - In reply to message 1 from Jaroslav
Hi Jaroslav.

These are php standard classes :
php.net/manual/en/class.datetimezon ...
php.net/manual/en/class.datetime.ph ...

You php >= 5.2.0