title: Converting Javascript Date object to Java LocalDateTime
body: <p>I'm trying to get a UTC time from a Javascript front end to a Java backend. I wanted to accomplish this by using <code>Date.toISOString()</code> and sending that object to the Java backend. However, an issue I noticed is that <code>toISOString()</code> returns the timestamp in <code>YYYY-MM-DDTHH:mm:ss.sssZ</code> format, and this format does not match any of the Java 8 pre-defined <code>LocalDateTime</code> formatters. </p>
  
  <p>My question is, is there a best practice to do what I'm trying to do? I'm aware I can write a custom Java formatter to match the Javascript output. However, I wondered if there was a standard way to accomplish this as it seems like a very common case.</p>