title: Conversion of Date to UNIX Timestamp
body: <p>I have a JavaScript function running in Google Drive folder of many spreadsheets that is currently logging dates into the log;</p>
  
  <pre><code>function convertDates(){
      var ui = SpreadsheetApp.getUi();
      SpreadsheetApp.getActiveSpreadsheet().toast('Conversion Started With First Row Date Cells','Conversion', 5);
      Logger.log('Date Conversion Started');
      var activeCell = SpreadsheetApp.getActiveSpreadsheet().getActiveCell();
      var cell = activeCell.getValue();
      Logger.log(cell);
   }
  </code></pre>
  
  <p>How would one convert the output of 'cell' which currently looks like:</p>
  
  <pre><code> May 03, 2014 at 05:19PM
  </code></pre>
  
  <p>Into a Unix Time stamp within Javascript? I am inclined to believe that this can involve the Date() function but am unsure.</p>
  
  <p>Thank's in Advance.</p>