Google Apps Script on Form Submit Time Formatting Glitch/Fix

前端 未结 2 935
无人共我
无人共我 2021-01-16 12:03

Background:

How: I suspect that this is a glitch within Google Form (submission process)/Spreadsheet, but may be part of the Date conversio

2条回答
  •  一生所求
    2021-01-16 12:48

    How can I go about processing that value into 4:15 pm? A simple java function could be

    value = value.substring(1); // Assuming "value" is a String But in Google App Scripts for Spreadsheets, I don't know how I would do that.

    Google Apps Scripts uses Javascript which has the exact same method.

    value = value.substring(1);
    

    should return all except the first character.

    More about Javascript substring at: http://www.w3schools.com/jsref/jsref_substring.asp

提交回复
热议问题