Convert 20th of June, 2014 (Gregorian calendar) to Julian Day Count in PHP

Description

The following code shows how to convert 20th of June, 2014 (Gregorian calendar) to Julian Day Count.

Example


/*from ww  w .j  a va 2 s .  c om*/
<?php
    $d=cal_to_jd(CAL_GREGORIAN,6,20,2014);
    echo $d;
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Data Types »




Array
Array Associative
Array Util
ArrayObject
Data Types
Date
Date Format
DateTime
Number
String
String Escape
String Filter
String HTML
String Type
Timezone