English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
PHP Calendar Calendar Function Manual
The jdtojulian() function converts Julian day count to Julian date.
jdtojulian( $juliandaycount );
This function converts "Julian day count" to a string containing "month/Day/Year" formatted Julian date string.
Serial Number | Parameters and Description |
---|---|
1 | juliandaycount(Required) Number (Julian day count). |
Julian date is represented as a string, with "month/Day/Year
Convert Julian date to Julian day count and then back to Julian date:
<?php $jd = juliantojd(10,3,1987); echo($jd . "\n"); $julian = jdtojulian($jd); echo($julian); ?>Test and see‹/›
This will produce the following result-
2447085 10/3/1987