Dating martian climate change