List Info

Thread: note 63782 added to function.mktime




note 63782 added to function.mktime
user name
2006-03-30 15:11:47
Bill:

What do you mean it doesn't work? If you're referring to
the fact the your 'B' example doesn't print '2006-02-30
05:47:23', its because there are only 28 days in February,
thus returning the second day of March.

If you wanted to get the last day of February, you should
consider using the 2nd PHP example.
----
Server IP: 216.194.113.175
Probable Submitter: 209.218.213.234
----
X-Spam-Status: No, hits=3.1 required=5.0
tests=DATE_MISSING,FROM_NO_LOWER 
	autolearn=no version=2.64
----
Manual Page -- http
://www.php.net/manual/en/function.mktime.php
Edit        -- http://master.p
hp.net/note/edit/63782
Del: integrated  -- ht
tp://master.php.net/note/delete/63782/integrated
Del: useless     -- http:
//master.php.net/note/delete/63782/useless
Del: bad code    -- http
://master.php.net/note/delete/63782/bad+code
Del: spam        -- http://m
aster.php.net/note/delete/63782/spam
Del: non-english -- h
ttp://master.php.net/note/delete/63782/non-english
Del: in docs     -- http:
//master.php.net/note/delete/63782/in+docs
Del: other reasons-- http://master
.php.net/note/delete/63782
Reject      -- http://master
.php.net/note/reject/63782
Search      -- http://ma
ster.php.net/manage/user-notes.php

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

note 63782 deleted from function.mktime by bjori
user name
2006-03-30 16:14:31
Note Submitter: Scott
Reason: integrated

----

Bill:

What do you mean it doesn't work? If you're referring to
the fact the your 'B' example doesn't print '2006-02-30
05:47:23', its because there are only 28 days in February,
thus returning the second day of March.

If you wanted to get the last day of February, you should
consider using the 2nd PHP example.

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

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )