$lunar = new Lunar();
   $date = $lunar->getLar('1983-10-5',0);
   echo date("Y-m-d", $date);
   // 农历1983-8-29转公历
   $date = $lunar->getLar('1983-8-29',1);
   echo date("Y-m-d", $date);
复制代码 代码如下:
 $lunar = new Lunar();
   $date = $lunar->getLar('1983-10-5',0);
   echo date("Y-m-d", $date);
   // 农历1983-8-29转公历
   $date = $lunar->getLar('1983-8-29',1);
   echo date("Y-m-d", $date);
复制代码 代码如下:
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:http://www.heiqu.com/f09d242885c1db15ef9e748508eb2395.html