php-date software package provides Generic date/time handling class for PEAR, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install php-date
php-date is installed in your system.
Make ensure the php-date package were installed using the commands given below,
$ sudo dpkg-query -l | grep php-date *
You will get with php-date package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Web Software |
| Package | php-date |
| Version | 1.4.7-2 |
| Description | Generic date/time handling class for PEAR |
| Sub Section | Web |