HTTP Last-Modified header contains date in following format (example): Wed, 09 Apr 2008 23:55:38 GMT What is the easiest way to parse java.util.
Wed, 09 Apr 2008 23:55:38 GMT
If you're using URLConnections, there is already a handy method.
URLConnection
See URLConnection#getLastModified
This method parses the date string and returns a milliseconds value. Then you can happily create a Date with that value.
Date