『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
123
返回列表 发新帖
楼主: 情非殇

[经验分享] 农历获取(新)

[复制链接]

20

主题

211

帖子

1535

积分

金牌会员

Rank: 6Rank: 6

积分
1535
金钱
1324
HASS币
10
发表于 2024-8-30 16:57:01 | 显示全部楼层
本帖最后由 zg990725 于 2024-8-30 16:59 编辑

你是想要这样的吧?
农历.png

{
  "nLunar": "二〇二四年七月廿七",
  "nFullString": "二〇二四年七月廿七 甲辰(龙)年 壬申(猴)月 丙寅(虎)日 子(鼠)时 纳音[覆灯火 剑锋金 炉中火 霹雳火] 星期五 北方玄武 星宿[牛金牛](凶) 彭祖百忌[丙不修灶必见灾殃 寅不祭祀神鬼不尝] 喜神方位[坤](西南) 阳贵神方位[兑](正西) 阴贵神方位[乾](西北) 福神方位[乾](西北) 财神方位[坤](西南) 冲[(庚申)猴] 煞[北]",
  "nYear": 2024,
  "dnYear": "二〇二四",
  "nMonth": 7,
  "dnMonth": "七",
  "nDay": 27,
  "dnDay": "廿七",
  "nYueXiang": "蛾眉残",
  "nFestivals": "",
  "nOtherFestivals": "",
  "nYearGanZhi": "甲辰",
  "nMonthGanZhi": "壬申",
  "nDayGanZhi": "丙寅",
  "nisPoQun": "",
  "nHongSha": "",
  "nDaHongSha": "",
  "nChongSang": "",
  "nLiuChong": "",
  "nTimeGanZhi": "戊子",
  "nDayNaYin": "炉中火",
  "nDayTianShen": "天刑",
  "nDayTianShenType": "黑道",
  "nDayTianShenLuck": "凶",
  "nYanggongJiri": "",
  "nMonthRenri": "",
  "nZhiXing": "破",
  "nDayLu": "巳命互禄 甲命进禄",
  "nYearShengXiaoExact": "龙",
  "nMonthShengXiaoExact": "猴",
  "nDayShengXiao": "虎",
  "nJieQi": "",
  "nShuJiu": null,
  "nSanFu": null,
  "nLiuYao": "先负",
  "nWuHou": "天地始肃",
  "nXiu": "牛",
  "nAnimal": "牛",
  "nXiuLuck": "凶",
  "nXiuSong": "牛星造作主灾危,九横三灾不可推,家宅不安人口退,田蚕不利主人衰,嫁娶婚姻皆自损,金银财谷渐无之,若是开门并放水,牛猪羊马亦伤悲。",
  "nZheng": "金",
  "nGong": "北",
  "nShou": "玄武",
  "nPengZuGan": "丙不修灶必见灾殃",
  "nPengZuZhi": "寅不祭祀神鬼不尝",
  "nDayYi": "破屋,坏垣,治病,馀事勿取",
  "nDayJi": "祈福,纳采,订盟,嫁娶,入宅,安葬",
  "nCustomAnniversaryDay": "",
  "nDayJiShen": "月空,天恩,驿马,天后,圣心,解神,五合,鸣吠对",
  "nDayXiongSha": "月破,大耗,月刑,天刑",
  "nTimeYi:": "赴任,出行,求财,见贵,祭祀,酬神",
  "nTimeJi:": "祈福,求嗣",
  "nDayJiShenPosition": {
    "福神方位": "乾 西北",
    "喜神方位": "坤 西南",
    "财神方位": "坤 西南",
    "阴贵神方位": "乾 西北",
    "阳贵神方位": "兑 正西"
  },
  "nTimeJiShenPosition": {
    "福神方位": "艮 东北",
    "喜神方位": "巽 东南",
    "财神方位": "坎 正北",
    "阴贵神方位": "坤 西南",
    "阳贵神方位": "艮 东北"
  }
}

集成了当天油价,油价调整日;  增加了法定节假日,
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 02:52 , Processed in 0.071575 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表