Home > PHP > Function > Calendar > jdtojewish()

jdtojewish()

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

Syntax

string jdtojewish (int $juliandaycount, bool $hebrew, int $fl)

Arguments

  • juliandaycount - 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.

Description

Converts a Julian Day Count to the Jewish Calendar.

Version

PHP 4, 5

Return value

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