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

Hi!

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!

Cheers,
Luís

Options: ReplyQuote




Sorry, only registered users may post in this forum.

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.