ID: 22764 User updated by: lahme at 4all-networks dot de Reported By: lahme at 4all-networks dot de Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.3.2RC1 New Comment:
@iliaa ... i copied this from the manual... so it IS a BUG!!!! "date -- Format a local time/date Description string date ( string format [, int timestamp]) Returns a string formatted according to the given format string using the given integer timestamp or the current local time if no timestamp is given. In otherwords, timestamp is optional and defaults to the value of time(). Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer). On windows this range is limited from 01-01-1970 to 19-01-2038. To generate a timestamp from a string representation of the date, you may be able to use strtotime(). Additionally, some databases have functions to convert their date formats into timestamps (such as MySQL's UNIX_TIMESTAMP function). " Previous Comments: ------------------------------------------------------------------------ [2003-03-18 09:17:26] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Certain libc implementations do not support negative timestamps. ------------------------------------------------------------------------ [2003-03-18 07:28:31] lahme at 4all-networks dot de if you´ve saved negative timestamp in a database and put it on frontend by date("d.m.Y",$timestamp); you will only see the 1.1.1970 .. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22764&edit=1