Answers for "How to get only year, month and day from timestamp in Laravel"

PHP
1

How to get only year, month and day from timestamp in Laravel

$date = date('y-m-d', strtotime($data['created_at']))
Posted by: Guest on April-16-2022

Code answers related to "How to get only year, month and day from timestamp in Laravel"

Browse Popular Code Answers by Language