I'm trying to convert 2020-11-03T14:03:45.173649-05:00 into timestamp using java.
I tried using Timestamp.valueOf("2020-11-03T14:03:45.173649-05:00"); here but getting error saying java.lang.IllegalArgumentException:Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]. Is there any way to convert Date time having timezone offset to timestamp?