Skip to content

Instantly share code, notes, and snippets.

/Controller.php Secret
Created May 8, 2017

Embed
What would you like to do?
<?php
Model::create([
'datetime_column' => Carbon::createFromFormat( 'd/m/Y', $request->input('input_file')),
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.