Date |
This class allows you to handle easily some dates. A date is a day and an hour (year, month, day, hour, minutes, seconds).
It supports the most common formats and manages timezones. Here are the definitions of the 3 existing timezones:
- System timezone: it's the timezone of the server, configured by the hoster. For instance, if your server is in France, it should be GMT+1.
- Site timezone: it's the timezone of the central place of the site. For example, if your site deals with the italian soccer championship, it will be GMT+1.
- User timezone : each registered user can specify its timezone. It's particulary useful for people who visit some sites from a foreign country.
|