I want to convert the php date to timestamp. But i'm getting same output even I change the date in my URL.
Example: Imagine that I have URL that will get the value.
url: localhost/index.php?text_checkin=22/06/2018
$checkin = strtotime($_GET['text_checkin']);
$textin = date('y/m/d', $checkin);
echo $textin;
OUTPUT: 70/01/01
Please help me out of this problem.