Anyone run across this? Is is indicative of the UNIX time on the server or something else? Here's the code I'm using.. ob_start(); $internal->parseMailTemplate( $custom->displayPage( 61 ), $authorInfo ); $timestamp = ob_get_contents(); ob_end_clean(); $thedate2 = date('l dS F Y', (int) $timestamp); echo "Date joined: "; print $thedate2; Code (markup): When someone adds an account to the website, the join on date is registered into the db. Any ideas?
Check what the value of $timestamp actually is. 31st December 1969 is actually one second (or more) before the UNIX Timestamp begins (1st January 1970). Jay
I just did some testing out of curiosity, and any timestamp between 0 and (60 * 60 * 5) (5 hours) comes up as Dec 31 1969 for me. Is that a time zone issue? However, the point being, a $timestamp of 0 or null would give you the date Dec 31 1969. So the function getting $timestamp may be returning 0 or null as an error. - Walkere