PHP Classes

File: date_country_readme.txt

Recommend this page to a friend!
  Classes of Sarawut Lorvijit   The Country Date   date_country_readme.txt   Download  
File: date_country_readme.txt
Role: Documentation
Content type: text/plain
Description: Readme
Class: The Country Date
Get date or time for a given time zone
Author: By
Last change:
Date: 14 years ago
Size: 672 bytes
 

Contents

Class file image Download
The Country Date Class This class is used for set and get date or time on your host and your country (Where the most people use your web site.). This class is declared by one parameter by pass the variable that is boolean, before upload to your host this variable must is true. You can get your country date time by define the constants in this class C_LOCAL_TIMEZONE and C_LOCAL_DIFF_GMT, and get value by use get_local_date(), It returns your country week day and hour. You can see the example in date_example.php. Thanks for reading, If you have any question please send e-mail to me. Sarawut Lorvijit 26 Apr 2009 e-mail : osarawut@yahoo.com Thailand