Learning PHP
Advanced PHP
PHP Function Reference
PHP Useful Resources
Selected Reading
© 2011 TutorialsPoint.COM
|
PHP Function jdtojulian()
Syntax
jdtojulian ( $juliandaycount );
|
Definition and Usage
This function converts Julian Day Count to a string containing the Julian Calendar Date in the format of "month/day/year".
Paramters
Parameter | Description |
juliandaycount | Required. A julian day number as integer |
Return Value
The julian date as a string in the form "month/day/year"
Example
Try out following example:
<?php
$jd = juliantojd(10,3,1987);
echo($jd . "<br />");
$julian = jdtojulian($jd);
echo($julian);
?>
|
This will produce following result:
|
|
|