Skip to content

Instantly share code, notes, and snippets.

Avatar

J tinydew4

View GitHub Profile
@tinydew4
tinydew4 / lun2sol.js
Last active Nov 6, 2019 — forked from twkang/lun2sol.js
JavaScript: Google spreadsheet scripts to convert dates between Korean lunar calendar and solar calendar
View lun2sol.js
function test_lun2sol() {
Logger.log(lun2sol(2013, 1, 4, 0));
}
function test_sol2lun() {
Logger.log(sol2lun(2013, 1, 26, 1));
}
/**
* lun2sol date 버전