title: How Would You Programmatically Create a Pattern from a Date that is Stored in a String?
body: <p>I have a string that contains the representation of a date. It looks like: </p>
  
  <p><strong>Thu Nov 30 19:00:00 EST 2006</strong></p>
  
  <p>I'm trying to create a Date object using SimpleDateFormat and have 2 problems. </p>
  
  <p>1.) I can't figure out the pattern to hard-code the solution into the SimpleDateFormat constructor</p>
  
  <p>2.) I can't find a way I could parse the string using API to determine the pattern so I could reuse this for different patterns of date output </p>
  
  <p>If anyone knows a solution using API or a custom solution I would greatly appreciate it.</p>