PHP jdtogregorian() 函数

PHP 教程 · 2019-01-23 08:59:01

实例

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

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

定义和用法

jdtogregorian() 函数把儒略日计数转换为格利高里历法的日期。

提示:请参阅 gregoriantojd() 函数,用来把格利高里历法的日期转换为儒略日计数。

语法

jdtogregorian(jd);

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

技术细节

返回值: 以 "月/日/年" 形式返回格利高里历法的日期。
PHP 版本: 4+

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

查看所有标签

Single Page Web Applications

Single Page Web Applications

Michael Mikowski、Josh Powell / Manning Publications / 2013-9-30 / USD 44.99

Code for most web sites mostly runs on the server. When a user clicks on a link, the site reacts slowly because the browser sends information to the server and the server sends it back again before di......一起来看看 《Single Page Web Applications》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

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

HEX HSV 互换工具