Login   Register  
PHP Classes
elePHPant
Icontem

PHP already has built-in classes and functions to handle date...

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Difference between two dates  >  All threads  >  PHP already has built-in classes and functions to handle date...  >  (Un) Subscribe thread alerts  
Subject:PHP already has built-in classes and functions to handle date...
Summary:Package rating comment
Messages:2
Author:CPK Smithies
Date:2012-12-27 16:05:48
Update:2012-12-27 22:32:07
 

CPK Smithies rated this package as follows:

Utility: Bad
Consistency: I am not sure
Examples: Sufficient

  1. PHP already has built-in classes and functions to handle date...   Reply  
Picture of CPK Smithies
CPK Smithies
2012-12-27 16:05:48
PHP already has built-in classes and functions to handle date and time differences, as well as powerful parsing functions. It is difficult to see what this adds to the standard library. Also, the difference-calculating function is just that - a function - and its class wrapper does nothing. Looks like it was written by someone who does not understand what classes are about.

  2. Re: PHP already has built-in classes and functions to handle dat   Reply  
Picture of Andrzej Krokos
Andrzej Krokos
2012-12-27 22:32:07 - In reply to message 1 from CPK Smithies
This is my comment on your understanding of the working class. Not every class needs to be a breakthrough, as well as not everyone needs to make a breakthrough in php. It is important for its use in practice.