When i am converting date from d-m-Y in Y-m-d format. i am facing some issues for it.
example 19/08/1989 will convert into 1989/08/19 (it's correct),
19/08/2059 will convert into 1970/01/01 (it's not correct)
$re_date = date('Y-m-d', strtotime($_POST['re_date']));
Help me please. thanks in advance.