 date php4 note  the date api is designed to use the new php date and timezone functions that are available in php 52 and above if you re using an earlier version of php you ll need to enable the date php4 module which provides some wrapper code to emulate those functions the wrapper code is slower and less efficient than the native date functions so if at all possible you will want to run on a server that uses php 52 or higher for the best performance some distros like red hat use php 51 instead see installing php 52 on redhat for ideas on how to update that php 4 substitutions for the php 5 date functions are supplied if the date php4 module is enabled use the php 5 functions in your code as they would normally be used and the php 4 alternatives will be automatically be substituted in when needed you cannot do everything with these functions that can be done in php 5 but you can create dates find timezone offsets and format the results timezone handling uses native php 5 functions when available and degrades automatically for php 4 to use substitutions like those provided in previous versions of the date and event modules read the doxygen documentation in this module for more information about using the functions in ways that will work in php 4 the following functions are emulated in php4 datecreate datedateset dateformat dateoffsetget datetimezoneset timezoneabbreviationslist timezoneidentifierslist timezoneoffsetget timezoneopen  