PHP Classes

Great class

Recommend this page to a friend!

      Simple Date  >  All threads  >  Great class  >  (Un) Subscribe thread alerts  
Subject:Great class
Summary:UNIX Timestamp
Messages:1
Author:bucky ohare
Date:2010-11-03 10:15:07
 

  1. Great class   Reply   Report abuse  
Picture of bucky ohare bucky ohare - 2010-11-03 10:15:08
Great class for doing lots with the date it's going to be extremely useful.

I've notice the timestamp seems it may be miscalculating. When checking the day number, or week number, it's using the timestamp, and appears to be calculating about 2 days behind.

If I use $this->date, instead of using the timestamp conversion $this->to_unix(), it works perfectly.

Sorry, but I don't know enough about generating the timestamp to know how to fix that.