PHP Classes

Example Typo

Recommend this page to a friend!

      Timezone Converter  >  All threads  >  Example Typo  >  (Un) Subscribe thread alerts  
Subject:Example Typo
Summary:Typo in example
Author:Josh Wilkins
Date:2010-08-25 18:01:25

  1. Example Typo   Reply   Report abuse  
Josh Wilkins - 2010-08-25 18:01:25
There is a typo in the example.

example says; $tz->setProperty('DateTime', 'now');

should be; $tz->setProperty('Datetime', 'now');

Class works pretty good after I finally spotted the typo...

Converted time is an hour off??? Wonder if this class accounts for daylight savings???