title: Cant display date as yyyy-MM-dd'T'HH:mm:ss:SSS Java
body: <p>Im getting the following error when I try to convert the following string. Id like the Date to be in the format <code>yyyy-MM-dd'T'HH:mm:ss:SSS</code> but instead the Date seems to be coming out as <code>Sun Mar 01 23:00:01 GMT 2020</code></p>
  
  <pre><code>    String FULL_ISO_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS";
      SimpleDateFormat formatter = new SimpleDateFormat(FULL_ISO_DATE_FORMAT);
      Date from = formatter.parse("2020-03-01T23:00:01.000");
  </code></pre>
  
  <p>Error</p>
  
  <pre><code>feign.FeignException: status 400 reading Controller#searchController(Date,Date,Integer,String); content:
  {"status":"fail","data":{"errors":[{"type":"IllegalArgumentException","description":"Invalid value Sun Mar 01 23:00:01 GMT 2020 for filter from. Field needs to be in format: yyyy-MM-dd'T'HH:mm:ss.SSS"}]}]}
  </code></pre>
  
  <p>Any help would be appreciated. I need to use the Date object as the constructor Im querying is using the Date object. Ideally I'd like to use LocalDateTime but I cant.</p>