Is there a way through which we can remove the nano seconds from timestamp. I mean without converting timestamp object into String and then doing a split on it.
posted 9 years ago
I can't find either timestamp or TimeStamp, but there are two versions of Timestamp in the standard API. I think you want java.sql.Timestamp; that has a constructor which doesn't take nanoseconds. Is that any use to you?