Re: New Datetime class problem
| From: | Rasmus Lerdorf | Date: | Sun, 05 Nov 2006 19:28:07 +0000 |
| Subject: | Re: New Datetime class problem | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26369@lists.php.net to get a copy of this message | ||
Christian Schneider wrote:
> Well, almost: DateTime is a date class, not a time class.
Surely it handles both. A DateTime class encapsulates both date and
time information. Just look at the methods like setTime() and the
properties that it contains. I don't think it is badly named at all.
-Rasmus