Adding more option in format and making calendar to capture seconds also.