★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.gregoriantojd.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to カレンダー
Quick Reference
English version of this pageGerman version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
カレンダー
* JDToGregorian
* GregorianToJD
* JDToJulian
* JulianToJD
* JDToJewish
* JewishToJD
* JDToFrench
* FrenchToJD
* JDMonthName
* JDDayOfWeek
* easter_date
* easter_days
* unixtojd
* jdtounix
Manual: GregorianToJD
View the source code for this pageSearch the site



Previous page
 JDToGregorian
 Updated
Sat, 12 Aug 2000
JDToJulian 
Next page


GregorianToJD

(unknown)

GregorianToJD --  グレゴリウス日をユリウス積算日に変換する

説明

int gregoriantojd (int month, int day, int year)

有効なグレゴリウス暦の範囲は紀元前4714年から紀元後9999年です。

このソフトウェアは日付けを全て紀元前4714年に逆昇ることが 出来ますが、この様な使い方は特に意味があるわけではありません。 グレゴリウス暦は1582年10月15日(ユリウス暦では 1582年10月5日)まで制定されていませんでした。 この暦は、いくつかの国でもっと後まで受け入れられませんでした。 例えば、イギリスは1752 年、ロシア(USSR)は1918 年、ギリシャは1923年に 移行しました。 ほとんどのヨーロッパの国々では、グレゴリウス暦の前は ユリウス暦を使用していました。

例 1. カレンダー関数


<?php
$jd = GregorianToJD (10,11,1970);
echo("$jd\n");
$gregorian = JDToGregorian ($jd);
echo("$gregorian\n");
?>
      


 About Notes


Previous page
 JDToGregorian
 Updated
Sat, 12 Aug 2000
JDToJulian 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.