You cant have DateTime in different formats.
Send it in String format (yyyy-MM-dd...) to SQL and it will do the rest for you..
__________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
|