Monday, November 5, 2012

timestamp with day light saving for different timezone

Timestamp is a fixed time interval from unix epoch. It will be same for all the different timezones. We will get the same timestamp output for time(), mktime() or gmmktime().
If we use arguments with mktime() or gmmktime(), then the timestamps may vary. So, we will use the Timezone features that is added on PHP 5.3. This is eliminate any differences of timestamp related problems.


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide

No comments: