jdmonthname: Month name from Julian day countMonth Name by using jdmonthname function.
Here is an example.
jdmonthname(Julian_day_count, Mode )
The output is Dec
$day_number = cal_to_jd(CAL_JULIAN,12,4,2013);
$month_name = jdmonthname($day_number,2);
By changing the mode we can get month in different formats.
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 )
Getting current month name
Easy way is to use the date format to get current month name.
oupt put is 07
Date Picker using JQuery
This article is written by plus2net.com team.