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:
2447085 10/3/1987 |
No comments:
Post a Comment