jdmonthname() returns a calendar month name from a Julian Day count.
$jd = gregoriantojd(9, 14, 2026);
echo jdmonthname($jd, 1);Current example first; the detailed examples and demos below are retained for additional learning and comparison.
\ = cal_to_jd(CAL_JULIAN,12,4,2013);
\ = jdmonthname(\,2);
echo \;
The output is Dec
0:Jan, Feb, Mar ..( Gregorian )
1:January, February,March ( Gregorian )
2:Jan, Feb, Mar ( Julian )
3:January, Februry, March ( Julian )
4:Tishri, Heshvan .. (Jewish )
5:Vendemiaire, Brumaire, Frimaire ( French )
Syntax
jdmonthname(Julian_day_count, Mode )
Here is an example.
echo date('M');
Output is
Sepdate("m")oupt put is 09Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.