Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

carbon in laravel

use IlluminateSupportCarbon;
$current = Carbon::now()->format('YmdHms'); //it will give current date and time
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #carbon #laravel
ADD COMMENT
Topic
Name
9+2 =