A Simple Set of Time Utilities for PHP
Haven’t you ever wished you had an easy to use chronograph, set of constants representing the days of the week, or perhaps months of the year? Maybe you have forgotten the exact format to use when writing datetime’s to a MySQL database (i.e. ‘Y-m-d H:i:s’). I know I have.
To alleviate this, I wrote Joe’s PHP Time Utilities. It’s not a complete time solution by any stretch of the imagination. However, it is a nice collection of utilities for tasks I find myself needing to perform over and over again.