Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove time from date in carbon

$dt = Carbon::now();
echo $dt->toDateString(); // Equivalent: echo $dt->format('Y-m-d');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #time #date #carbon
ADD COMMENT
Topic
Name
7+1 =