Today, a command line php program encountered an error date e(); time zone setting problem. You need to set the default time zone through php.ini
OSX system, command line php, does not enable php.ini. You need to create one yourself
sudo cp /private/etc/php.ini.default /private/etc/php.ini
Source of this article: http://www.iamued.com/development/php/2053.html