Cleans up the header parser. Moves all time code into the DateTimeHelper class.