try date("d-M-Y",rand (mktime(0,0,0,1,1,1970),mktime(0,0,0,12,31,1985))) mktime works only from January 1 1970 --
Best regards, George Nicolae IT Manager ___________________ X-Playin - Professional Web Design www.x-playin.f2s.com "Mehmet Kamil Erisen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > Can anybody suggest a function that will generate a random > date between > 01-Jan-1967 > 31-Dec-1985 > > thanks. > > > ===== > Mehmet Erisen > http://www.erisen.com > > __________________________________________________ > Do You Yahoo!? > Send your FREE holiday greetings online! > http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]