Date refactoring

Constant for amount day seconds.
Getting frequent dates: yestarday, today, tomorrow.
Checking time values.
Trim year while simple date formatting.