MySQL Forums
Forum List  »  Connector/C++

Re: How do I get DateTime object from ResultSet?
Posted by: Jeff Lynn
Date: September 01, 2009 07:53AM

What I meant was, get field value from resultset into CTime, like

CTime tsField = pResultSet->getDatetime("hireDate");

or something like that. But I found no such method from resultset class. It seems odd that I have to read the field value into string and than parse it into CTime object.

Jeff

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How do I get DateTime object from ResultSet?
3409
September 01, 2009 07:53AM


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.