Tagged: format

0

Insert Date Data Using Laravel’s Eloquent ORM

I have a difficulty in inserting date data with Laravel’s Eloquent ORM. The issue is I didn’t use the right format for the date input. I used mm/dd/yyyy format while the SQL statement requires me to use yyyy/mm/dd format. I need to convert the date form to the approriate format....