Developer Forums | About Us | Site Map
Search  
HOME > PHPMANUAL


Sponsors





Web Host
site hosted by netplex
Partners

Online Manuals

jdtojewish

(PHP 3, PHP 4 )

jdtojewish --  Converts a julian day count to a jewish calendar date

Description

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

Converts a Julian Day Count the the Jewish Calendar.

The optional hebrew and fl parameters became available in PHP 5.0.0

If the the hebrew parameter is set to TRUE, the fl parameter is used for hebrew, string based, output format. The available formats are: CAL_JEWISH_ADD_ALAFIM_GERESH, CAL_JEWISH_ADD_ALAFIM, CAL_JEWISH_ADD_GERESHAYIM.

Example 1. jdtojewish() Example

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

Copyright 2004-2024 GrindingGears.com. All rights reserved. Site hosted by NETPLEX