# PHP jdmonthname() Function
# PHP jdmonthname() Function
## Definition and Usage
The jdmonthname() function returns the month name for a given Julian Day count.
This function returns the month name for a given Julian Day count, and returns a string.
---
## Syntax
```
string jdmonthname ( int $julianday , int $mode )
```
---
## Parameter Description
| Parameter | Description |
|-----------|-------------|
| julianday | Required. A Julian Day number |
| mode | Required. Specifies the calendar and the mode to use: **0** - Gregorian - abbreviated **1** - Gregorian **2** - Julian - abbreviated **3** - Julian **4** - Jewish **5** - French Republican |
---
## Technical Details
| Return Value: | Returns the month name as a string |
|---------------|-------------------------------------|
| PHP Version: | 4+ |
---
## Example 1
```php
<?php
$jd = gregoriantojd(10, 3, 1975);
echo(jdmonthname($jd, 0) . "
");
echo(jdmonthname($jd, 1) . "
");
echo(jdmonthname($jd, 2) . "
");
echo(jdmonthname($jd, 3) . "
");
echo(jdmonthname($jd, 4) . "
");
echo(jdmonthname($jd, 5));
?>
```
Output:
```
Oct
October
Oct
October
Tishri
Vendemiaire
```
---
## Example 2
```php
```
---
## Related Functions
* [PHP cal_days_in_month()](
* [PHP cal_from_jd()](
* [PHP cal_to_jd()](
* [PHP jddayofweek()](
(
---
## Online Detection Tool
---
Navigation
[โฎ PHP Calendar Reference](
(adsbygoogle = window.adsbygoogle || []).push({});