Login   Register  
PHP Classes
elePHPant
Icontem

Example Typo

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

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

  1. Example Typo   Reply  
Picture of Josh Wilkins
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???