php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #46674 Inbuilt classes like DateTime are not documented
Submitted: 2008-11-26 03:51 UTC Modified: 2009-08-27 15:56 UTC
From: greg at catalina-it dot com dot au Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2008-11-26 03:51 UTC] greg at catalina-it dot com dot au
Description:
------------
PHP has a number of inbuilt classes like DateTime, but I can't find anywhere where they are fully documented. There is plenty of detail on functions, but nothing on the classes.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-26 18:12 UTC] rquadling@php.net
http://www.php.net/manual/en/ref.datetime.php

The documentation refers to both the procedural and OOP methods on 
the same page.

See http://www.php.net/manual/en/function.date-create.php
 [2008-11-30 06:16 UTC] philip@php.net
I agree with Richard, but also feel we should better document the existence of the DateTime class.
 [2008-12-08 13:12 UTC] kalle@php.net
Perhaps we should do something like mysqli docs do for the date classes?
 [2009-08-27 15:56 UTC] danielc@php.net
The documentation was enhanced some time ago.  Take a look at http://us2.php.net/manual/en/book.datetime.php.  Reopen the bug if you think it still needs fixing.

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 05:00:01 2026 UTC