Skip to content

Instantly share code, notes, and snippets.

View PolarBearGG's full-sized avatar
💭
I may be slow to respond.

Vitaliy PolarBearGG

💭
I may be slow to respond.
View GitHub Profile
@PolarBearGG
PolarBearGG / month.gs
Last active January 11, 2020 09:48
Get month if we know only Week number and year + include workdays
var DAY_MILLIS = 24 * 60 * 60 * 1000;
function main(data_start, data_end) {
//var ss = SpreadsheetApp.openById("Table_ID");
//var name = ss.getName();
//var sheet = ss.getSheetByName('Sheet1'); // or whatever is the name of the sheet