Skip to main content
edited body; edited title; edited tags; edited tags
Source Link
pnuts
  • 17.8k
  • 5
  • 54
  • 103

Conversion from object to string in google scriptsGoogle Apps Script

I'm trying to take information from Google Sheets and use it to send an email with the information given in sheets. I have the email part down, but when iI try to editAsText to delete unwanted characters it wontwon't allow me to. Here is what iI am trying to accomplish:

var start = row[5];
returns: Fri Feb 20 2015 00:00:00 GMT+0200 (SAST)

An iand I want to edit that to be:

Fri Feb 20 2015

Conversion from object to string in google scripts

I'm trying to take information from Google Sheets and use it to send an email with the information given in sheets. I have the email part down, but when i try to editAsText to delete unwanted characters it wont allow me to. Here is what i am trying to accomplish:

var start = row[5];
returns: Fri Feb 20 2015 00:00:00 GMT+0200 (SAST)

An i want to edit that to be:

Fri Feb 20 2015

Conversion from object to string in Google Apps Script

I'm trying to take information from Google Sheets and use it to send an email with the information given in sheets. I have the email part down, but when I try to editAsText to delete unwanted characters it won't allow me to. Here is what I am trying to accomplish:

var start = row[5];
returns: Fri Feb 20 2015 00:00:00 GMT+0200 (SAST)

and I want to edit that to be:

Fri Feb 20 2015
Formatting, degreet, grammar
Source Link
Vidar S. Ramdal
  • 17.4k
  • 11
  • 71
  • 82

Hey guys please can anyone help, I'm currently trying to take information from google sheetsGoogle Sheets and use it to send an email with the information given in sheets. I have the email part down..., but when i try to editAsTexteditAsText to delete unwanted characters itsit wont allow me to... hereHere is what i am trying to accomplish:

var start = row[5];
returns: Fri Feb 20 2015 00:00:00 GMT+0200 (SAST)

var start = row[5]; returns: Fri Feb 20 2015 00:00:00 GMT+0200 (SAST) AnAn i want to edit that to be: Fri Feb 20 2015

Fri Feb 20 2015

Hey guys please can anyone help, I'm currently trying to take information from google sheets and use it to send an email with the information given in sheets. I have the email part down... but when i try to editAsText to delete unwanted characters its wont allow me to... here is what i am trying to accomplish:

var start = row[5]; returns: Fri Feb 20 2015 00:00:00 GMT+0200 (SAST) An i want to edit that to be: Fri Feb 20 2015

I'm trying to take information from Google Sheets and use it to send an email with the information given in sheets. I have the email part down, but when i try to editAsText to delete unwanted characters it wont allow me to. Here is what i am trying to accomplish:

var start = row[5];
returns: Fri Feb 20 2015 00:00:00 GMT+0200 (SAST)

An i want to edit that to be:

Fri Feb 20 2015
Source Link
FFDP-FTW
  • 37
  • 2
  • 2
  • 5

Conversion from object to string in google scripts

Hey guys please can anyone help, I'm currently trying to take information from google sheets and use it to send an email with the information given in sheets. I have the email part down... but when i try to editAsText to delete unwanted characters its wont allow me to... here is what i am trying to accomplish:

var start = row[5]; returns: Fri Feb 20 2015 00:00:00 GMT+0200 (SAST) An i want to edit that to be: Fri Feb 20 2015