Refactored datetime comparison code and modified css