class to measure time intervals in microseconds. You can take times during a code run and at the end get a time table as HTML or text table. The output will contain total and
as delta between each take in microseconds.
This is a quick function I wrote to parse out the 'microtime()' feature, and deal with the results mathmatically. Since microtime() returns the milliseconds, then a space,
then the unix timestamp, using the results from microtime() itself weren't conducive to quick math. We had some pages here that we needed to time down to the millisecond, so
we used this. :)
Web based calendar. The calendar has 2 functions. The first is to view the whole month, the second is used when you click on a specific day in the month, which will then take
you to the hour breakout for that day and the previous and next day
nextmonth() returns a time number corresponding to the date one month from the passed time. It is different from strtotime("next month"). Function takes care of the leap year.
E.g. for Jan 31, 2000, strtotime("next month") returns 2000-03-02 whereas nextmonth() returns 2000-02-29
PHP_Scheduler is a very simple class for storing timestamps at application-level. It can be useful in situations such as "I want to update a file not more than once every 15
minutes" or "I want to cache a database query and refresh it every 30 minutes." The class is very simple to use, simply look at the example. Feel free to contact me via email
with questions/suggestions/bug reports.
This class allow very precise timing based on microtime() function, in a two-step very simple operation: Call it from your code with include("timer.class.php4"), Then start
and stop timer before and after your code.