Re: Time function question/
| From: | George Nicolae | Date: | Thu, 27 Dec 2001 22:57:32 +0000 |
| Subject: | Re: Time function question/ | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78881@lists.php.net to get a copy of this message | ||
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" <erisen@yahoo.com> wrote in message
news:20011227224104.58320.qmail@web13408.mail.yahoo.com...
> 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