Change Date Format
<?php
$date = "18/11/2015";
$change_date = str_replace('/', '-', $date);
echo $result_date = date('Y-m-d', strtotime($change_date));
?>
//output:
2015-11-18
I am a Software Engineer with expertise in web development using Vtiger CRM, WordPress, CodeIgniter, JavaScript, AngularJS, Node.js, and Yii2. Skilled in integrating Payment Gateways, Tally with PHP, and third-party APIs like Facebook and Google+. Proficient in AWS (EC2, IAM, RDS, S3, Amplify), React.js, TypeORM with Node.js, and Laravel 11 with Filament & Livewire. I also specialize in Magento2 REST API integration and have strong DevOps experience.
Comments
Post a Comment