Changed date parsing logic
Latest phporm