Copyright © tutorialspoint.com
| jdtojulian ( $juliandaycount ); |
This function converts Julian Day Count to a string containing the Julian Calendar Date in the format of "month/day/year".
| Parameter | Description |
|---|---|
| juliandaycount | Required. A julian day number as integer |
The julian date as a string in the form "month/day/year"
Try out following example:
<?php $jd = juliantojd(10,3,1987); echo($jd . "<br />"); $julian = jdtojulian($jd); echo($julian); ?> |
This will produce following result:
2447085 10/3/1987 |
Copyright © tutorialspoint.com