|
Posted by Ewoud Dronkert on 11/25/05 11:29
yawnmoth wrote:
> year to something like September 3, 1997 using gmdate?
> mktime(0,0,0,$month,$day,$year) doesn't seem to work as often
Timezone artefact. Don't mix mktime() and gmdate(). Use mktime() and
date(), or gmmktime() and gmdate(), depending on what the parameters
represent. See http://php.net/gmmktime
--
E. Dronkert
Navigation:
[Reply to this message]
|