MySQL Forums
Forum List  »  Connector/C++

Re: Mysql connector c++ 8.0. How to work with datetime?
Posted by: Luis Silva
Date: January 23, 2020 10:48AM


Our current implementation still doesn't support datetime conversions, so to get this data, best is to cast date_update column:

"SELECT id, cast(date_update as char) FROM table_name")

Hope it helps!


Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.