JDToGregorian
JDToJulian
Calendar Функции
PHP Manual

# jdtojewish

(PHP 4, PHP 5)

jdtojewish — Converts a Julian day count to a Jewish calendar date

### Описание

string jdtojewish ( int `$juliandaycount` [, bool `$hebrew` [, int `$fl` ]] )

Converts a Julian Day Count to the Jewish Calendar.

### Список параметров

`julianday`

  A julian day number as integer

`hebrew`

  If the `hebrew` parameter is set to `TRUE`, the `fl` parameter is used for Hebrew, string based, output format.

`fl`

  The available formats are: `CAL_JEWISH_ADD_ALAFIM_GERESH`, `CAL_JEWISH_ADD_ALAFIM`, `CAL_JEWISH_ADD_GERESHAYIM`.

### Возвращаемые значения

The jewish date as a string in the form "month/day/year"

### Список изменений

Версия | Описание
--- | ---
5.0.0 | The `hebrew` and `fl` parameters were added

### Примеры

Пример #1 jdtojewish() Example

`<?php
echo jdtojewish(gregoriantojd(10, 8, 2002), true,
CAL_JEWISH_ADD_GERESHAYIM + CAL_JEWISH_ADD_ALAFIM + CAL_JEWISH_ADD_ALAFIM_GERESH);
?>`

### Смотрите также

- jewishtojd()
- cal_from_jd()

JDToGregorian
JDToJulian
Calendar Функции
PHP Manual