Is there a simple way to convert a JavaScript Date to a Java 8 date-time with a time-zone?
I have a web application which consists of two parts, front end is written in JavaScript and the back end in Java. A user should be able to select a date-time in UI and the value should be consumed by the back end. What is the easiest way of converting this value to Java date-time?