MySQL Forums
Forum List  »  Connector/C++

Re: Connector c++ 8 converting field Value for DATE to time_t
Posted by: Peter Brawley
Date: August 22, 2021 05:05PM

See Luis Silva's response at https://forums.mysql.com/read.php?167,683855,683959 ...

Quote

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")



Edited 1 time(s). Last edit at 08/22/2021 05:06PM by Peter Brawley.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Connector c++ 8 converting field Value for DATE to time_t
234
August 22, 2021 05:05PM


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.