輸入待尋字串
  <?php
  require("http://php.wilson.gs");  // 回首頁
  echo "http://php.wilson.gs/bible/group.php : 曆法函式庫";


曆法函式庫

本函式庫共有 10 個函式

想要使用曆法函式庫,需要先編譯好 dl/calendar 函式庫。PHP 中的曆法函式庫提供不同的西洋曆法轉換。轉換的基準是凱撒日計數 (Julian Day Count)。所有的曆法計算都必需先轉換成凱撒日計數,再轉成您所需要的曆法,更多的資料可以參考這個網址找到 http://genealogy.org/~scottlee/cal-overview.html 。不過對於使用黃帝紀元的中國,這個函式庫就還需要擴充才適合了。

JDToGregorian:將凱撒日計數 (Julian Day Count) 轉換成為格里高里曆法 (Gregorian date)。
GregorianToJD:將格里高里曆法轉換成為凱撒日計數。
JDToJulian:將凱撒日計數轉換成為凱撒曆法。
JulianToJD:將凱撒曆法轉換成為凱撒日計數。
JDToJewish:將凱撒日計數轉換成為猶太曆法。
JewishToJD:將猶太曆法轉換成為凱撒日計數。
JDToFrench:將凱撒日計數轉換成為法國共和曆法。
FrenchToJD:將法國共和曆法轉換成為凱撒日計數。
JDMonthName:傳回月份名。
JDDayOfWeek:傳回日期在週幾。


[ 上一頁 /bible/group.php 下一頁 ]



本站置於 NEC BIGLOBE 地球村網際網路  echo "Copyright © 1999-2000, Wilson Peng";
  mail("wilson@biglobe.net.tw", "Feedback", $message);
  ?>