用法
frenchtojd ( $month, $day, $year );
定義和用法
它將法國共和曆中的日期轉換為儒略日計數。
參數
Sr.No | 參數及說明 |
---|---|
1 |
month(Required) 月份為從 1 到 13 的數字。 |
2 |
day(Required) 以 1 到 30 的數字表示的日期 |
3 |
year(Required) 年份為 1 到 14 之間的數字 |
返回值
給定法國大革命日期的儒略日作為整數。
示例
試試下麵的例子——
<?php
$d = frenchtojd(3,3,14);
echo($d);
?>
這將產生以下結果 -
2380650
相關用法
- PHP FrenchToJD()用法及代碼示例
- PHP FilesystemIterator __construct()用法及代碼示例
- PHP FilesystemIterator getFlags()用法及代碼示例
- PHP FilesystemIterator next()用法及代碼示例
- PHP FilesystemIterator rewind()用法及代碼示例
- PHP FilesystemIterator key()用法及代碼示例
- PHP FilesystemIterator current()用法及代碼示例
- PHP FilesystemIterator setFlags()用法及代碼示例
- PHP PHPUnit assertIsNotFloat()用法及代碼示例
- PHP disk_total_space()用法及代碼示例
- PHP ReflectionClass getTraitAliases()用法及代碼示例
- PHP hash_hmac()用法及代碼示例
- PHP String wordwrap()用法及代碼示例
- PHP SimpleXMLElement children()用法及代碼示例
- PHP is_file( )用法及代碼示例
- PHP ArrayIterator asort()用法及代碼示例
- PHP IntlCalendar getTimeZone()用法及代碼示例
- PHP SplPriorityQueue isCorrupted()用法及代碼示例
- PHP XMLReader::getParserProperty()用法及代碼示例
注:本文由純淨天空篩選整理自 PHP - Function FrenchToJD()。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。