Moved to a personal class

Moved to the class FormatedTime.php