Is this possible? I found a few solution for converting to and from localDateTime like can be seen here
But I can't find a solution for Joda Instant...
You can use the epoch millis to convert:
Timestamp ts = ....;
Instant i = new Instant(ts.getTime());
Timestamp ts2 = new Timestamp(i.getMillis());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With