Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Carbon Date format

$date = CarbonCarbon::createFromFormat('Y-m-d H:i:s',$calc[0]['created_at']);
$date->setTimezone('Asia/Karachi');
$date->format('d M, Y H:i A')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Carbon #Date #format
ADD COMMENT
Topic
Name
3+8 =