Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

format date laravel timestamp view

date('d-m-Y', strtotime($user->from_date));
/**
or
**/
date_format($user->from_date,'D M Y')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #format #date #laravel #timestamp #view
ADD COMMENT
Topic
Name
7+8 =