I've seen this type of creating a timestamp quite often now and was even so 
often shaking my head about it. Guess i've seen it somewhere in the PHP 
Documentation's user contributed notes on day. Just google for the term and 
you will find many hits like this:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg136608.html

  -- red

PS: Guess some ppl have never heard about mktime :-)

[...]
> Your function doesn't seem to make any sense to be honest - you're
> passing in the $day value to strtotime (a function that ideally
> requires English language date formats) and then asking it to
> calculate a timestamp based off the offset of the month and year.
>
> So ultimately you're feeding strtotime = 10, timestamp
>
> which means it's going to try and calculate the difference between 10
> and the given timestamp (which is going to be a lot!)
>
> What exactly is this function *supposed* to do?
[...]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to