Date format refactored to FormatConstants class