The class converts arbitrary date strings to Unix timestamps and provides
extended information like the begin or end of the day, week, month or year.
Usage:
$date = new Date();
echo $date->datim;
$date = new Date('2011-09-18', 'Y-m-d');
echo $date->monthBegin;
Date::formatToJs('m/d/Y H:i');