Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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

$date = date('y-m-d', strtotime($data['created_at']))
 
PREVIOUS NEXT
Tagged: #How #month #day #timestamp #Laravel
ADD COMMENT
Topic
Name
5+3 =