Created
March 5, 2019 15:40
-
-
Save GiancarloGomez/909eb3c10bc48466c772eeebb2010938 to your computer and use it in GitHub Desktop.
ColdFusion 2018 ODBC Date Error
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
// this is for example purpose only. Not actual values used | |
today = "01/01/2019"; | |
// use to work but generates an error now | |
createODBCDateTime(today & "23:59:59"); | |
// throws 01/01/201923:59:59 is an invalid date or time string. | |
// required fix ( add the required space ) | |
createODBCDateTime(today & " 23:59:59"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment