Hi,

On Tue, 27 Jan 2004 23:05:09 -0500
gohaku <[EMAIL PROTECTED]> wrote:

> Hi everyone,
> I made the mistake of using strtotime("day") instead of 
> strtotime("today")
> to get the current time.
> I was just curious, what is strtotime("day") represent?
> 
> Below is what I used to test the "day" and "today" parameters:
> 
> Testing One Minute Difference<br>
> <?
> echo min_diff();
> function min_diff()
> {
>       $now = strtotime("today");//Return value is 60
>       //$now = strtotime("day");//Return value is 86400
>       $onemin = strtotime("-1 minute");
>       return $now-$onemin;
> }
> ?>

60 seconds * 60 min. * 24 hrs. = 86400?

--

- E -
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

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

Reply via email to