PHP Classes

File: ReadME.txt

Recommend this page to a friend!
  Classes of Utsav Handa   Timezone Converter   ReadME.txt   Download  
File: ReadME.txt
Role: Documentation
Content type: text/plain
Description: ReadMe Manual
Class: Timezone Converter
Converts dates and times between time zones
Author: By
Last change:
Date: 15 years ago
Size: 1,601 bytes
 

Contents

Class file image Download
/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -= imezone Conversion -= -= File: class-timezone-conversion.php -= -= Created by: Utsav Handa -= -= Email: handautsav [at] hotmail dot com -= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ This class implements Timezone datetime conversion functionality. There is a simple usage for converting specified datetime into specified timezone. This class supports about 200 timezone conversion including some local timezone. This class uses generic PHP functions for conversion. Description:: --------------- This class provides a simple method to convert between time zones. It simply uses the built-in PHP function(s) which is available in PHP 4.x and higher. This class supports about 200 timezone conversion including some local timezone around the World. The TimezoneConversion rules on which this converter is based are to provide you with the most accurate time converter utility on the Net! Example : /** require_once('class-timezone-conversion.php'); $tz = new TimezoneConversion(); print "\n Local:: " .$tz->getLocalDateTime(); print "\n GMT ::" .$tz->convertDateTime(); $tz->setProperty('Timezone', 'IST'); print "\n IST ::" .$tz->convertDateTime(); **/ This class it's intended only for experimental/learning purposes. This class is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Utsav Handa - handautsav [at] hotmail dot com