https://6tail.cn/calendar/api.html
非常牛逼
Unity将当前时间转为天干地支
using System; using Lunar; using UnityEngine;public class GanZhiTimeConverter : MonoBehaviour {private void Start(){var solar = Solar.FromDate(DateTime.Now);Debug.Log(solar.Lunar.YearInGanZhi + "年 " + solar.Lunar.MonthInGanZhi + "月 " + solar.Lunar.DayInGanZhi + "日 " + solar.Lunar.TimeInGanZhi + "时");} }