How to use Calendar JDMonthName in PHP

In this article I am going to explain about JDMonthName function in PHP.
  • 1814

PHP Calendar JDMonthName() Function

The calendar JDMonthName function returns a month name.


Syntax of 
JDMonthName function

jdmonthname(jd,mode)

Parameters in JDMonthName function

It have two parameter:

Parameter Description
jd A number of Julian day count.
mode The calendar to take the month name.

Example of Calendar JDMonthName function

<html>

<body>

 

<?php

$jdmonth=cal_to_jd(CAL_GREGORIAN,date("m"),date("d"),date("Y"));

echo(jdmonthname($jdmonth,1));

?>

 

</body>

</html>

 

Output:

JDMonthName function.jpg

You may also want to read these related articles :
here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.