Created
February 4, 2015 15:11
-
-
Save GreatPotato/61460869f5eb03f02444 to your computer and use it in GitHub Desktop.
Convert PayPal Date/Time fields into MySQL DateTime
This file contains 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
UPDATE transactions | |
SET DateTime = CAST(CONCAT(STR_TO_DATE(Date,'%d/%m/%Y'), ' ', Time) AS DateTime) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment