Local time: 10/28/2001 00:59:59 and DST is 1 Local time: 10/28/2001 01:59:59 and DST is 1 timelocal conversion error -- 1004255999 converted to 1004259599 (Local time: 10/28/2001 01:59:59 and DST is 0) mktime conversion correct -- timestamp is 1004255999