PHP Classes

This class uses strtotime() function, so it cannot calculate ...

Recommend this page to a friend!

      Cool Date  >  All threads  >  This class uses strtotime()...  >  (Un) Subscribe thread alerts  
Subject:This class uses strtotime()...
Summary:Package rating comment
Messages:2
Author:Artur Graniszewski
Date:2011-01-12 18:57:45
Update:2011-01-12 23:21:18
 

Artur Graniszewski rated this package as follows:

Utility: Insufficient
Consistency: Sufficient
Examples: Sufficient

  1. This class uses strtotime()...   Reply   Report abuse  
Picture of Artur Graniszewski Artur Graniszewski - 2011-01-12 18:57:57
This class uses strtotime() function, so it cannot calculate time differences for dates older than 00:00:00 UTC on 1 January 1970 (start of the unix epoch).

Try to use different calculations.

  2. Re: This class uses strtotime()...   Reply   Report abuse  
Picture of Gustavo Gontaruk Gustavo Gontaruk - 2011-01-12 23:21:18 - In reply to message 1 from Artur Graniszewski
La hice para calcular el tiempo entre dos fechas que nunca van a ser anteriores a 1970, porque comparo "now" con la fecha de escritura de un comentario en mi web. Si alguien la necesita para otra funcionalidad, la puede modificar sin problema.
Gracias.