<?php $str = '2015-10-10...'; echo filter_var($str,FILTER_SANITIZE_NUMBER_INT);
You have javascript disabled. You will not be able to edit any code.