PHP jdtojulian() 函数

PHP 教程 · 2019-01-23 09:27:49

实例

把儒略历法的日期转换为儒略日计数,然后再转换回儒略历法的日期:

<?php
$jd=juliantojd(6,20,2007);
echo $jd . "<br>";
echo jdtojulian($jd);
?>

定义和用法

jdtojulian() 函数把儒略日计数转换为儒略历法的日期。

提示:请参阅 juliantojd() 函数把儒略历法的日期转换为儒略日计数。

语法

jdtojulian(jd);

参数 描述
jd 必需。数字(儒略日计数)。

技术细节

返回值: 以 "月/日/年" 形式返回儒略历法的日期。
PHP 版本: 4+

点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html

查看所有标签

Pattern Recognition and Machine Learning

Pattern Recognition and Machine Learning

Christopher Bishop / Springer / 2007-10-1 / USD 94.95

The dramatic growth in practical applications for machine learning over the last ten years has been accompanied by many important developments in the underlying algorithms and techniques. For example,......一起来看看 《Pattern Recognition and Machine Learning》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具