Filter array by date with google app script

后端 未结 3 1837
南笙
南笙 2021-01-22 03:08

i\'ve a google spreadsheet that is a 2 columns table that has on column A dates (i\'m sure that are dates, and all the date functions works fine on all the column) and on column

3条回答
  •  太阳男子
    2021-01-22 04:00

    The Date methods will work on a Date will work on a Date object, not text. What you have in the variable dataRow[1] is simply a string, not a Date object. Hence it doesn't have that method.

提交回复
热议问题