Created
September 18, 2012 10:38
-
-
Save slav123/3742515 to your computer and use it in GitHub Desktop.
createFromFormat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$data_invoice['date'] = DateTime::createFromFormat('d/m/Y', $data_invoice['date'])->format("Y-m-d"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment