<select name="coin" class="form-control input-lg">
<?php
foreach($coins as $item) {
$times = date('Y-m-d', $item['date']); // Y-m-d
echo '<option value="' . $times . '">' . $item['name'] . '</option>';
//echo $item['coin'];
}
?>
</select>