Twinkle HubTwinkle Hub

國曆 → 農曆

tw_solar_to_lunar

更多工具 · 同一族🇹🇼 台灣唯讀

國曆 (西元) → 農曆。

Args: date: "YYYY-MM-DD" 西元日期。

Returns: lunar_year/month/day + 中文表示 + zodiac + season + phase_of_moon。

參數

參數型別說明
date *string—
原始 JSON schema
{
  "properties": {
    "date": {
      "title": "Date",
      "type": "string"
    }
  },
  "required": [
    "date"
  ],
  "title": "solar_to_lunarArguments",
  "type": "object",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_solar_to_lunar({ date: "…" })