title: App Script Converting from Date() to something readable
body: <p>Ok I have a Google Sheet.</p>
  
  <p>I'm writing App Script</p>
  
  <p>This script is pulling out data in a loop about Chromebooks in our GSuite and I can convert the native Long result of <strong>device.autoUpdateExpiration</strong> by using <strong>Date(device.autoUpdateExpiration)</strong> as here:</p>
  
  <pre><code>do {
      page = AdminDirectory.Chromeosdevices.list('my_customer', options);
  
      page.chromeosdevices.forEach(function(device) {
       devices.push([device.deviceId, device.serialNumber, device.orgUnitPath, device.annotatedUser, device.annotatedUser, device.annotatedLocation, device.annotatedAssetId, device.notes, device.model, Date(device.autoUpdateExpiration), device.macAddress, device.model]);
    });
      if (page.nextPageToken){
        options.pageToken = page.nextPageToken;
      }
    } while (page.nextPageToken); 
  </code></pre>
  
  <p>But when the script dumps the Chromebook info to cells, the content of <strong>Date(device.autoUpdateExpiration)</strong> is:</p>
  
  <p><strong>Thu Feb 13 2020 15:10:35 GMT+0000 (Greenwich Mean Time)</strong></p>
  
  <p>Two questions:</p>
  
  <ol>
  <li><p>Why isn't this giving me the actual date when the updates expire?</p></li>
  <li><p>How do I convert this to an easy dd/mm/yyyy output?</p></li>
  </ol>