How to use jdmonthname() function to get the month name in PHP

2 Answers

0 votes
$jm = cal_to_jd(CAL_GREGORIAN,date("m"), date("d"), date("Y"));
   
echo(jdmonthname($jm, 1));


/*
run:

March  
   
*/

 



answered Mar 11, 2016 by avibootz
0 votes
$jm = cal_to_jd(CAL_GREGORIAN,date("m"), date("d"), date("Y"));
   
echo(jdmonthname($jm, 0));


/*
run:

Mar   
   
*/

 



answered Mar 11, 2016 by avibootz

Related questions

1 answer 196 views
3 answers 102 views
2 answers 193 views
...