<?php $str = '01-01-2016'; echo strtotime($str); echo date('d-m-Y');
You have javascript disabled. You will not be able to edit any code.