PHP cal_to_jd() İşlev
Örnek
20 Haziran 2007'yi (Miladi takvim) Jülyen Günü Sayısına dönüştürün:
<?php
$d=cal_to_jd(CAL_GREGORIAN,6,20,2007);
echo $d;
?>
Tanım ve Kullanım
cal_to_jd() işlevi, belirtilen bir takvimdeki bir tarihi Jülyen Gün Sayısına dönüştürür.
Sözdizimi
cal_to_jd(calendar,month,day,year);
Parametre Değerleri
Parameter | Description |
---|---|
calendar | Required. Specifies the calendar to convert from. Must be one of the following values:
|
month | Required. Specifies the month as a number |
day | Required. Specifies the day as a number |
year | Required. Specifies the year as a number |
Teknik detaylar
Geri dönüş değeri: | Jülyen Günü numarasını döndürür |
---|---|
PHP Sürümü: | 4.1+ |
❮ PHP Takvim Referansı