5
The problem is this: I have a personal finance program that will register some important data, among them the registration date and the due date. Program interfaces are made in Eclipse at SWT
, and I’m using the widget DateTime
, that uses a native windows calendar instance and shows on the program screen.
It turns out that I can not store in the database this format, because it is not compatible with any type SQL
, as Date
or TimeStamp
. I already tried to convert this value to String
and to Date
, but he won’t take it. Someone has an idea?
I hope I made clear the problem without the need to post code as it is a format compatibility problem SWT
with SQL
. If anyone uses SWT
or has an idea of how to show a summary calendar (dd/MM/yyyy) on screen, pro user track the date of registration and choose the due date to save later in the bank, I appreciate the help.
For his comment on anthony’s answer, the solution he gave worked - I suggest you accepted his response by clicking on the right, in the upper left corner of the answer. This is how we repay the help the community gives us.
– Daniel