title: Google Script- Convert Date to Epoch Time
body: <p>I've been working on this for a long time and haven't quite found anything that fits what I need.</p>
  
  <p>Right now, I have an array of dates- all of them look like this - </p>
  
  <blockquote>
    <p>Sun Mar 31 2013 00:00:00 GMT+0700 (ICT). </p>
  </blockquote>
  
  <p>I'm looking for a way to convert that into </p>
  
  <blockquote>
    <p>1364688000</p>
  </blockquote>
  
  <p>Only through Google Script.</p>
  
  <p>How would you go about doing this?</p>